I have been pulling my hair out trying to do the MVC 3 Music Store tutorial found on the asp.net website.
I have run into some problems with Inheritance Mapping, I can\'t get it to map correct to the base class, and get an Invalid column on all the fields in the base class (Elements)
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 would like to use a stored procedure to retrieve entit开发者_开发问答ies from a DB, I don\'t care about tracking changes. I just need all entities be resolved including related ones.
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
How do I set EF to use an SQL datatype of XML for an object?Moreover, how does one create SQL computed columns.
I am trying to setup a navigation property that will hold zero or more elements of another table. The problem Entity Framework seems to be having is the other table has a composite primary key.