Top "Entity-framework-4.3" questions

Questions specific to version 4.3 of the ADO.

EF Code First cascade delete and update?

My entities are these: public class Customer { public Customer() { Invoices = new List<Invoice>(); Payments = new List<Payment&…

c# entity-framework ef-code-first entity-framework-4.3
Entity Framework (4.3) looking for singular name instead of plural (when entity name ends with "s")

Here's my situation: I have been working on an ASP.NET MVC 3 application for a while. It has a database (…

c# .net entity-framework entity-framework-4 entity-framework-4.3
How to add description to columns in Entity Framework 4.3 code first using migrations?

I'm using Entity Framework 4.3.1 code first with explicit migrations. How do I add descriptions for columns either in the entity …

c# .net sql-server-2008-r2 entity-framework-4.3
Dynamic Include statements for eager loading in a query - EF 4.3.1

I have this method: public CampaignCreative GetCampaignCreativeById(int id) { using (var db = GetContext()) { return db.CampaignCreatives .Include("Placement") .Include("CreativeType") .…

c# entity-framework c#-4.0 entity-framework-4.1 entity-framework-4.3
Entity Framework enumerating SqlQuery result

I have strange error while I am trying to view results of SqlQuery: var sql = "SELECT @someParam"; var someParamSqlParameter = new …

c# enumeration entity-framework-4.3
1-to-1 relationship causing exception: AssociationSet is in the 'Deleted' state. Given multiplicity constraints

I have set up a 1-to-1 relationship using EF code first following the method prescribed here: Unidirectional One-To-One relationship in …

c# entity-framework entity-framework-4 one-to-one entity-framework-4.3
Code first DbMigrator causes error when building from different machines

We have a project under SCM. When I build it from my machine and publish to a remote server via …

c# entity-framework ef-code-first entity-framework-4.3 dbmigrator
Assembly Binding Old Reference Exception

I have been trying to solve an assembly binding issue for the last 12 hours, with not much luck. Last week, …

visual-studio-2010 .net-4.0 entity-framework-4.3
Entity Framework 4.3 code first multiple many to many using the same tables

I have a model like public class User { [Key] public long UserId { get; set; } [Required] public String Nickname { get; set; } …

c# entity-framework ef-code-first entity-framework-4.3
Entity Framework Data Annotations equivalent of .WillCascadeOnDelete(false);

I'm currently using EF Code First 4.3 with migrations enabled, but automatic migrations disabled. My question is simple, is there a …

data-annotations entity-framework-4.3 entity-framework-migrations