ef-code-first
How to create a "dynamic" database structure (EF Code-First)
I\'m trying to implement web application using Entity Framework Code-First. I\'ll explain the problem on such example:[详细]
2023-04-10 23:50 分类:问答Cannot obtain values from the View (with MVC code first)
This is how I populate the view from the viewmodel PersonInformation.. @model Client.Models.PersonInformation[详细]
2023-04-10 17:11 分类:问答Entity Framework Class / Database Schema advice needed
I asked a question recently, and quite frankly, from the answer that was given, I am second guessing my entire strategy/how I design the classes and database.[详细]
2023-04-10 17:02 分类:问答Overriding SaveChanges and setting ModifiedDate, but how do I set ModifiedBy?
I have an ASP.NET MVC3 web application with UI, Business (entities), and Data (DbContext) layers.I am using Entity Framework 4.1 Code First. Right now, I am overriding the DbContext.SaveChanges() in t[详细]
2023-04-10 16:03 分类:问答How to force EF Code First to query the database?
I have a site managing a collection of rules and a separate Windows form application making file level changes based on the rules in the database.[详细]
2023-04-10 13:49 分类:问答Entity Framework Code First TPH Inheritance with Generic Repository
I\'m probably misunderstanding code-first table-per-hierarchy inheritance, but this is my set-up: I have HTMLGadgets (and other types) inheriting from Gadget, which inherits from Entity. Entity has on[详细]
2023-04-10 13:12 分类:问答Entity Framework - pessimistic locking
What I am tryi开发者_如何学Pythonng to do is basically what NHibernate does when you do something like:[详细]
2023-04-10 12:33 分类:问答Cyclic reference error in EF code first
This is my abstract base class: publi开发者_JS百科c abstract class ServiceStation { #region \'----- Member(s) -----\'[详细]
2023-04-10 12:18 分类:问答EF Code-First and nested sets
I would like to create a nested set model inside my database. However, I have a pr开发者_JS百科oblem, \'cause I don\'t know how to start the implementation using Entity Framework Code-First.[详细]
2023-04-10 11:08 分类:问答Working with a Model class that has a foreign/navigation key to itself
I am trying to develop a catalog project in ASP.NET MVC 3 and using EF Code first with an existing Database. There is a Categories table in m开发者_Go百科y database that points to itself. For that, I[详细]
2023-04-10 06:11 分类:问答