This tag is for the ADO.
I have a model generated from db with Entity Framework. When I have any change in database, I update model …
entity-framework entity-framework-4 entity-framework-4.1 entity-framework-5I need to update all fields except property1 and property2 for the given entity object. Having this code: [HttpPost] public …
entity-framework entity-framework-4.1Entity Framework 4.1 Code First works great creating tables and relationships. Is it possible to create sql views or stored procedure …
c# entity-framework-4.1 entity-framework-migrations code-firstIs there a way to decorate your POCO classes to automatically eager-load child entities without having to use Include() every …
entity-framework-4.1 entity code-first entity-framework-4.3Having this simple code I get "Cannot drop database "test_db" because it is currently in use" (CleanUp method) as …
database unit-testing entity-framework entity-framework-4.1 database-connectionI was wondering if the DbContext class is thread safe, I am assuming it's not, as I am currently executing …
c# thread-safety entity-framework-4.1I am trying to implement caching mechanism for entities. And to use the entities correctly and seamlessly with the caching …
c# asp.net asp.net-mvc-3 entity-framework entity-framework-4.1What's the most efficient way to select multiple entities by primary key? public IEnumerable<Models.Image> GetImagesById(IEnumerable&…
c# .net entity-framework linq entity-framework-4.1Lately I've been working on stored procedure and encountered 1 strange problem. First, I was able to successfully call a stored …
entity-framework entity-framework-4.1 ef-code-firstWhile working with EF code first I get error given below at different times: The entity type SomeType is not …
entity-framework code-first entity-framework-4.1