Entity Framework is a LINQ-based object-database mapper for .NET.
How do I pass a connection string to entity framework's code-first DbContext? My database generation works correctly when both DbContext …
c# entity-framework database-connectionOk, I have tri-leveled entities with the following hierarchy: Course -> Module -> Chapter Here was the original …
.net asp.net-mvc-3 linq entity-framework entity-framework-5Let's just suppose I have a valid need for directly executing a sql command in Entity Framework. I am having …
entity-framework entity-framework-4.1Update-Database failed from Package Manager Console. I've used Entity Framework 6.x and code-first approach. Error is "There is already an …
database entity-framework ef-code-first entity-framework-6 entity-framework-migrationsI'm trying to determine how to count the matching rows on a table using the EntityFramework. The problem is that …
c# database entity-frameworkI have a project that uses Entity Framework. While calling SaveChanges on my DbContext, I get the following exception: System.…
c# entity-frameworkI am trying to save Employee details, which has references with City. But everytime I try to save my contact, …
c# asp.net entity-framework ado.net foreign-keysI see this a lot in tutorials, with navigation properties as ICollection<T>. Is this a mandatory requirement …
c# entity-framework code-first icollectionI'm using Entity Framework 5.0 Code First; public class Entity { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public string EntityId { get; set;} public int …
entity-framework ef-code-first constraints multiple-columns unique-keyHow would you rate each of them in terms of: Performance Speed of development Neat, intuitive, maintainable code Flexibility Overall …
sql linq-to-sql entity-framework ado.net linq-to-entities