Problem : At work we just upgraded to Entity Framework 5. Our EDMX file now has a couple other nodes […]
Tag: entity-framework-5
Are there technical reasons EF 5 isn’t fully supported on .NET4.0?
Problem : I wanted to upgrade my app to EF 5 to take advantage of features like support for enum […]
Filtering navigation properties in EF Code First
Problem : I’m using Code First in EF. Let’s say I have two entities: public class Farm { …. public […]
EF LINQ include multiple and nested entities
Problem : Ok, I have tri-leveled entities with the following hierarchy: Course -> Module -> Chapter Here was the original […]
How do I enable EF migrations for multiple contexts to separate databases?
Problem : How do I enable Entity Framework 5 (version 5.0.0) migrations for multiple DB contexts in the same project, […]
Could not load file or assembly Microsoft.SqlServer.management.sdk.sfc version 11.0.0.0
Problem : I have installed MS SQL Server 2008 R2 and when I try to update model from database under […]
Entity Framework 5 : Proper method to replace entry in context
Problem : What i want to do is simple. I have a list of parts in the db, and i […]
EntityType ‘DbGeography’ has no key defined
Problem : Long time listener, first time caller (finally made an account here!)… I am using Visual Studio 2013 with […]
Is it bad practice to filter by ID within the repository pattern
Problem : I am using ASP.NET MVC4 with Entity Framework 5. Essentially every controller action result filters the db results […]
No constructor with a connection string in Entity Framework datacontext
Problem : I am using Entity Framework 5.0 for my project. I looked on the internet and I saw that […]
- 1
- 2