Using the model-first approach, I made 2 entities: Project and User. A project has multiple Users (involved in the project), and a User has (access to) multiple Projects, so following along with the T
I ran across this code in one of our Entity Framework applications. I know there has to be a better (more efficient) way than the three queries this code executes. Although, I can\'t quite get the syn
I have the following tables (condensed for readability): Call ID CallerName CallerTime Categories ID CategoryName
I\'m using ModelBuilder to map an existing database to POCOs. I have courses, students, and meetings. Here are the tables
is there an possibility to call the Math.Sin()-function in a Linq To Entites (Entity Framework 4) -Query?
I am using EF4 CPT4 Code first and I have setup my ObjectContext to return IObjectSet so I would be able to Mock and test my repos. However, I now noticed that I am unable to use the .Include() method
I have successfully used EF4 to insert rows automatically with a server generated GUID: http://leedumond.com/blog/using-a-guid-as-an-entitykey-in-entity-framework-4/
I have inherited a medium sized database that we are trying to use with Entity Framework in a MVC2 rewrite we are working on.We used the existing database to generate the data model (.edmx file) and a
Using a code-first approach I\'d like to map a single model to multiple table names dynamically. Currently I can do something like modelBuilder.Entity(Of Person)().MapSingleType().ToTable(\"Managers\"
I used to use NHibernate with repository 开发者_开发知识库interfaces. What is the proper way to use this pattern with EF?