Entity Framework is a LINQ-based object-database mapper for .NET.
I have the following code. I'm getting error: "The cast to value type 'Int32' failed because the materialized value …
c# .net entity-framework linq-to-entitiesI have this scenario: public class Member { public int MemberID { get; set; } public string FirstName { get; set; } public string LastName { …
c# entity-framework ef-code-first many-to-manyI have an asp.net-mvc application with the default membership database. I am accessing it by ADO.NET Entity Framework. …
asp.net entity-framework connection-stringI tried to run the command 'Enable-Migrations' in a new project and I got the message: PM> Enable-Migrations The …
entity-framework migrationI have a table User which has an identity column UserID, now what is the correct Linq to Entity line …
c# linq entity-framework linq-to-entitiesThe two entities are one-to-many relationship (built by code first fluent api). public class Parent { public Parent() { this.Children = new …
c# asp.net-mvc entity-framework asp.net-web-apiI want to make the Middle Name of person optional. I have been using C#.net code first approach. For …
c# asp.net-mvc entity-framework entity-framework-migrationsI just started learning POCO but cannot understand its use and advantage. Even following link of stackoverflow did not help …
c# .net entity-framework pocoI can't find way to add a unique constraint to my field with using attribute: public class User { [Required] public …
c# entity-framework entity-framework-coreI'm getting the following error when trying to do a linq query: LINQ to Entities does not recognize the method …
.net linq entity-framework linq-to-entities specification-pattern