Top "Fluent-interface" questions

Refers to a practice of coding object-oriented APIs with the aim of improving readability of the interface, normally implemented using method chaining.

EF Code First prevent property mapping with Fluent API

I have a class Product and a complex type AddressDetails public class Product { public Guid Id { get; set; } public AddressDetails …

c# entity-framework ef-code-first fluent-interface
Understanding of How to Create a Fluent Interface

Hi i'm trying to understand how i could build a readable and also error preventing Fluent-API without to much restriction …

c# fluent fluent-interface
How do I map a char property using the Entity Framework 4.1 "code only" fluent API?

I have an object that has a char property: public class Product { public char Code { get; set; } } Entity Framework doesn't …

entity-framework char ef4-code-only fluent-interface
Conditional Builder Method Chaining Fluent Interface

I was wondering what would be the best way to implement a .When condition in a fluent interface using method …

c# design-patterns builder fluent-interface method-chaining
Can you monkey patch methods on core types in Python?

Ruby can add methods to the Number class and other core types to get effects like this: 1.should_equal(1) But …

python ruby programming-languages monkeypatching fluent-interface
Difference between .WithMany() and .WithOptional()?

Below are two similar fluent API configurations: WithMany() modelBuilder.Entity<Country>() .HasRequired(cou => cou.Currency) .WithMany() .WillCascadeOnDelete(…

entity-framework ef-code-first fluent-interface
How to subclass str in Python

I am trying to subclass str object, and add couple of methods to it. My main purpose is to learn …

python subclassing fluent-interface
Castle Windsor: Auto-register types from one assembly that implement interfaces from another

I use Castle Windsor as my IoC container. I have an application that has a structure similar to the following: …

c# castle-windsor ioc-container fluent-interface
Tips for writing fluent interfaces in C# 3

I'm after some good tips for fluent interfaces in C#. I'm just learning about it myself but keen to hear …

c# design-patterns fluent-interface
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 …

java generics builder fluent-interface