I have a hierarchical DbContext structure, where I would like a specialized DbContext with its own DbSets to inherit the DbSets of a BaseDbContext.
I want to find out if it makes sense to use the Entity Framework code first ctp 5 IDbSet in a Repository base class .
I want to know whether EF CodeFirst will automatically track \"child\" objects in the example below. var db = MyDataContext();
I have something like the following many to many relationship tables. public class Shop{ public int Id { get; set; }
I\'m attempting to map a 1-M relationship between two entities where the first one is normally mapped to a table and the second one is taken from a view.
I know the question already has a solution (eg. this question) but I really can\'t afford to attach the mapping logic in the same assembly where the domain (POCO classes) is.
MvcScaffold Version: 0.9.7 Okay, so MvcScaffold generates this code for me in my _CreateOrEdit.cshtml partial view:
I have the following business role that I need to model: A bidder could rate a seller as long as they\'ve interacted with this person
How should I define relationships using Code First but without using any navigation properties? Previously I have defined One-Many and Many-Many by using navigation properties in both ends of the rel
With EF 4.1 on the way and CTP5 being available for few months now I\'ve decided to try out the new functionality. As I see, there are multiple generation items available (DbContext and three differen