Top "Entity-framework" questions

Entity Framework is a LINQ-based object-database mapper for .NET.

Entity framework left join

How do I change this query so it returns all u.usergroups? from u in usergroups from p in u.…

c# linq entity-framework linq-to-entities left-join
Nullable property to entity field, Entity Framework through Code First

Using the data annotation Required like so: [Required] public int somefield {get; set;} Will set somefield to Not Null in …

entity-framework asp.net-mvc-3 code-first nullable
Best way to check if object exists in Entity Framework?

What is the best way to check if an object exists in the database from a performance point of view? …

entity-framework linq-to-entities exists
Using MySQL with Entity Framework

Can't find anything relevant about Entity Framework/MySQL on Google so I'm hoping someone knows about it.

mysql .net entity-framework ado.net
Connection Strings for Entity Framework

I want to share same Database information across multiple entities in Silverlight.. but I want the connection string to be …

c# entity-framework machine.config
Entity Framework code-first: migration fails with update-database, forces unneccessary(?) add-migration

I have a funny effect using migration (EF 5.0) and code-first: I created some models with GUID primary keys. (BTW: It …

entity-framework entity-framework-migrations
How to compare only date components from DateTime in EF?

I am having two date values, one already stored in the database and the other selected by the user using …

c# linq entity-framework linq-to-entities datetime-comparison
Entity Framework .Remove() vs. .DeleteObject()

You can remove an item from a database using EF by using the following two methods. EntityCollection.Remove Method ObjectContext.…

c# database entity-framework orm
The type initializer for 'System.Data.Entity.Internal.AppConfig' threw an exception

I'm working with EF5 in a MVC 4 aspnet website. Locally, everything works just fine, but when I publish it to …

asp.net asp.net-mvc entity-framework asp.net-mvc-4 entity-framework-5