entity-framework-ctp5
Entity Framework 4.1 - How to "Force" EF To Go To DB Instead of Using Graph?
Here\'s the scenario, i have a website, which in a single 开发者_StackOverflowHTTP request (HTTP POST), i need to do the following:[详细]
2023-04-12 04:29 分类:问答EF Code-First - Mapping stored procedures
I\'m trying to implement nested sets in my database model. To make it easy to use I would like to create stored procedures for insert/update/delete operations on my tree nodes to keep my tree in a val[详细]
2023-04-11 13:02 分类:问答Sorting an ICollection descending by average including nullable values
Given the following code: class Book { public int ID { get; set; } public string Name { get; set; } public ICollection<Review> Reviews { get; set; }[详细]
2023-04-04 01:54 分类:问答Does any namespace changes EF to 4.1 from 4.0, could not find AttributeConfigurationConvention<T1, T2, T3>
I implemented AttributeConfigurationConventionfor decimal 开发者_JAVA百科precision attribute for EF 4.0. It was worked well for our apps but install 4.1 I got compile time Error;[详细]
2023-03-29 11:01 分类:问答Using mvc-mini-profiler database profiling with Entity Framework Code First
I\'m using the mvc-mini-profiler in my project built with ASP.Net MVC 3 and Entity Framework code-first.[详细]
2023-03-16 14:53 分类:问答EF CTP5 - Context Inheritance Across Multiple Assemblies
I have two assemblies, each with models and a model context. The first assembly m开发者_运维问答odel context is derived from DbContext.[详细]
2023-03-12 09:13 分类:问答Comparing String Column with Int column
I\'m working on EF CTP5 Code First development with an existing database. I need to get the data from two tables by comparing columns of different types.[详细]
2023-03-09 02:00 分类:问答Web forms EF4 CodeFirst CTP5 KeyAttribute not found
I\'m using code-first in Web Forms (not MVC) with EF4 and CTP5, and when trying to decorate a property with the [Key] attribute, it doesn\'t show up in the intellisense and get compilation error sayin[详细]
2023-03-04 23:28 分类:问答Entity Framework Complex Type Custom Validation, Stopping Validation Recursion
We are using complex types to manage our translatable fields like this: [ComplexType] public class Translated[详细]
2023-02-25 12:15 分类:问答EF Code First CTP5 Null child Object handling
I have a Product object with a related Category within it. I have the relationship between product and Category as a One to Many. But the Category can also be null.[详细]
2023-02-21 22:49 分类:问答