This tag is for the ADO.
I am using Entity Framework Code First method to create my database table. The following code creates a DATETIME column …
c# entity-framework entity-framework-4.1 code-first sqldatatypesI am trying to use EF code-first to delete a db record (deleteMe) and it's children (deleteMe.Prices). foreach (var …
database entity-framework entity-framework-4.1Here is the problem: I need to return a collection of objects with filtered nested collections. E.g: there is …
linq entity-framework entity-framework-4.1 filteringI have the situation where I'm initializing my model in DatabaseInitializer() for EF 4.1 and get this annoying error "Validation failed …
.net entity-framework entity-framework-4.1 ef-code-firstI am trying to figure out how to have a composite key using EF code First 4.1 RC. Currently, I am …
ef-code-first composite-key entity-framework-4.1I'm learning about Entity Framework at the mo, and am having problems!! Can someone clarify if I am right in …
entity-framework linq-to-entities entity-framework-4.1On my homepage, I want to show the recently added products. I have added a ChildAction to my controller but …
c# linq entity-framework-4.1I have a context to a read-only database for reporting and I am writing lots of code, like this: using (…
c# entity-framework entity-framework-4.1 change-trackingCould someone offer up some advice or point out some blogs/articles that could help with making this decision? The …
entity-framework orm entity-framework-4.1 ef-code-first dynamic-proxyI'm using System.ComponentModel.DataAnnotations to provide validation for my Entity Framework 4.1 project. For example: public class Player { [Required] [MaxLength(30)] […
c# entity-framework-4.1 data-annotations