fluent-interface
EF4.1 - Fluent API - SqlQuery - configuration mappings when calling sproc - Data reader is incompatible with specified entity type
The scenario - legacy application with 10 year history, has always used procedure calls for all data access - needs to be overhauled from a hybrid classic ASP and .NET set of pages.[详细]
2023-03-12 07:23 分类:问答C# Building Fluent API for method invocations
What do I have to do to say that InvokeMethod can invoke a method and when using special options like Repeat it shall exexute after the Repeat.[详细]
2023-03-11 20:10 分类:问答EF Code First: Many-to-many and one-to-many
This is probably just because my knowledge with the EF Code First fluent API is lacking, but I\'m stumped.[详细]
2023-03-10 10:11 分类:问答Trying to understand how to create fluent interfaces, and when to use them
How would one create a fluent interface instead of a more tradition approach? Here is a traditional approach:[详细]
2023-03-08 18:20 分类:问答Can you use navigation sub-properties in foreign keys using EF 4.1 fluent API?
Let\'s use a simple example: public class Employee { public int EmployeeID { get; set; } public ICollection<Pay> Pays { get; set; }[详细]
2023-03-07 12:50 分类:问答Is it possible to set a breakpoint in a method chain in VS, and if so how?
Given the code [Test] public void Test1() { var a = new A(); 开发者_StackOverflowa .Method1() .Method2();[详细]
2023-03-04 16:02 分类:问答EF Code First 4.1 - How to configure one to many relationship with default
I have a Customer entity which references a collection of Addresses.The complication here is that I want to be able to identify a particular address as the default address.[详细]
2023-03-04 11:51 分类:问答Fluent Mappings / Data Annotations for Unique columns and navigation properties with differant names in Entity Framework 4.1?
First, is there a way to tell EF 4.1 that a column needs to be unique by using either data annotations or the fluent API?[详细]
2023-03-02 17:07 分类:问答Can I have an abstract builder class in java with method chaining without doing unsafe operations?
I\'m trying to have an abstract base class for some builder classes so I can easily reuse code between the Builder implementations. I want my builders to support method chaining therefore a method has[详细]
2023-03-01 12:34 分类:问答Entity Framework 4.1:is it preferred to annotate properties or to use Fluent API
As the title implies: what are the pros and cons using Annotations in开发者_如何学Pythonstead of the Fluent API (or reversed)?If you are purist you will not use Data Annotations because they make your[详细]
2023-02-25 15:26 分类:问答