ef-code-first
Entity Framework Code First associations/FK issues and assumptions/defaults
I am very confused by the way Entity Framework is able to pick up on rela开发者_如何学Gotionships between entities. I have a few questions on this.[详细]
2023-04-10 02:04 分类:问答Time (CLR Timespan) column using EF4.1 Code-First approach and SqlCe 4.0
I\'be been trying to map a Timespan property to a SqlCe 4.0 database using EntityFramework 4.1 Code-First approach, and of course I\'m getting a NotSupportedException sa开发者_运维百科ying there\'s no[详细]
2023-04-09 23:37 分类:问答Adding item to a list/collection (with MVC EF 4.1 code first)
Having problem with adding ite开发者_开发技巧m/object into a list/collection. This is what I\'ve done so far...[详细]
2023-04-09 22:16 分类:问答Filter all entities based on common property in DynamicData application
I have dynamic data site based on EF CodeFirst context (using DynamicData.EFCodeFirstProvider library). Everything works, but all my entities inherit from one \"开发者_开发百科common\" entity that has[详细]
2023-04-09 20:07 分类:问答Column mapping with Abstract class (TPT with existing tables)
I am developing against existing DB, having problem mapping my abstract class to my table as TPT., which raised an error saying \"invalid column name \"ID\"\".[详细]
2023-04-09 14:05 分类:问答DbContext mapping tables dynamically
If i have a dbContext who\'s connection string is created during a context creation and then I want to map the table names based on some of that information....how would I pass in that data to the tab[详细]
2023-04-09 09:02 分类:问答Mapping POCO Class to Dynamically Created Tables
I have a script running every hour that stores log data in a logging database. Every month a new table is created, and the logging information from this month is stored in that table.[详细]
2023-04-09 07:13 分类:问答EF-Code first complex type with a navigational property
My Model: public class Country { public int CountryId { get; set; } public string Name { get; set; } public virtual ICollection<User> Us开发者_运维知识库ers { get; set; }[详细]
2023-04-09 04:31 分类:问答Entity Framework Code First DbContext Checks the ConnectionString During Compile?
It seems that the Code First DbContext really uses the given ConnectionString during compile? I don\'t even know how that is possible but to me it seems to be so. If I turn OFF my local SQL Server, I[详细]
2023-04-09 02:44 分类:问答Getting own EF 4.1 Code First classes to work with .NET Membership
I am working on a simple web application that is built with EF 4.1 Code First and MVC3. My Domain Model sits in a project outside the MVC3 project.[详细]
2023-04-09 01:26 分类:问答