Top "Entity-framework-5" questions

The ADO.

Entity Framework Ordering Includes

I am trying to get something like the following to work: _dbmsParentSections = FactoryTools.Factory.PdfSections .Include(x => x.Children.…

c# linq entity-framework entity-framework-5
Is it possible to set a unique constraint using Entity Framework Code First?

I want to enforce Unique constraint in a table & I am using Entity Framework Code-First. Is it possible to …

asp.net-mvc entity-framework entity-framework-5 entity-framework-6
ASP.NET MVC 4, EF5, Unique property in model - best practice?

ASP.NET MVC 4, EF5, Code First, SQL Server 2012 Express What is best practice to enforce a unique value in a …

c# asp.net-mvc entity-framework asp.net-mvc-4 entity-framework-5
Batch update/delete EF5

What is the best way to deal with batch updates using (Entity Framework) EF5? I have 2 particular cases I'm interested …

entity-framework batch-processing entity-framework-5
Entity Framework Multiple Column as Primary Key by Fluent Api

These are my simplified domain classes. public class ProductCategory { public int ProductId { get; set; } public int CategoryId { get; set; } public …

c# .net entity-framework entity-framework-5
Entity Framework 5 code-first not creating database

I'm trying to create a new database using the code first concept of Entity Framework. However when running the code …

c# entity-framework asp.net-mvc-4 ef-code-first entity-framework-5
Entity Framework Code First Using Guid as Identity with another Identity Column

a.k.a How can we create multiple identity columns in Code First? Because of clustering performance, a common recommendation …

entity-framework ef-code-first entity-framework-5 entity-framework-migrations
How to initialize database with Entity Framework and Membership tables

I have a MVC4 web application that use Entity Framework 5.0 Code First. In Global.asax.cs I have a bootstrapper …

asp.net-mvc entity-framework asp.net-membership asp.net-mvc-4 entity-framework-5
Entity Framework 5 deep copy/clone of an entity

I am using Entity Framework 5 (DBContext) and I am trying to find the best way to deep copy an entity (…

entity-framework-5 dbcontext
Debug code-first Entity Framework migration codes

I'm using Entity Framework code first in my website and I'm just wondering if there is any way to debug …

entity-framework ef-code-first entity-framework-5 entity-framework-migrations