I am trying to use a common EntityTypeConfiguration class to configure the primary key for all of my entities, so that each derived configuration class does not repeat itself. All of my entities imple
Dunno how to name this properly. I have two entities in m:n relationship: Member and Role. public class Role
I am trying to map information about the User to several dto\'s, but I\'m getting null exceptions. Basically, the reason why I distributed the information among several classes is because there are co
Is it possible to access metadata about a POCO entity using EF4.1 that states what the database field names are? Most importantly on foreign key values.
I\'m using EF4 Code First and I have a property: public byte[] Bytes {get开发者_高级运维;set;} can I make this property load lazily ( only when it\'s needed) ?Table spliting works in EF 4.1 RC:
I have been searching for resources on how to de开发者_如何转开发clare foreign key relationships and other constraints using code first EF 4.1 without much luck. Basically I am building the data model
I have two classes.A Company has a County set against it: public class Company { public int Id { get; set; }
I am trying to change EF1 for EF4.1 code first in an application where the schema cannot be changed because it is used in SQL Server Replication. The schema is dreadfully poor and in many places descr
I\'ve searched everyhwere but couldn\'t find an answer... First, I have created a many to many relationship using code first which worked well. Each person can be in multiple clubs and each club can
I have a problem that might be simple but I can\'t find anything about it. I\'m using EF 4.1 Code First on a legacy db. In our development environment, all tables are under \"dbo\" owner, but in prod