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 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 …

entity-framework entity ef-code-first fluent-interface
What is the proper usage of HasColumnType and Database generated

I'm migrating a substantial EF model of ~80 entites from EF4 to EF6, and I'm also changing it from a Designer …

c# entity-framework fluent-interface
Fluent Interfaces - Method Chaining

Method chaining is the only way I know to build fluent interfaces. Here's an example in C#: John john = new …

language-agnostic design-patterns oop fluent-interface
Fluent methods for data class in kotlin

We are familiar with fluent interfaces for calling methods in java and other programming languages. For eg: Picasso.with(this).…

java kotlin fluent-interface
C#: Returning 'this' for method nesting?

I have a class that I have to call one or two methods a lot of times after each other. …

c# methods return-value fluent-interface
EF Code First - Fluent API (WithRequiredDependent and WithRequiredPrincipal)

I have the following class: public class User { public Guid Id { get; set; } public string Name { get; set; } public Couple …

ef-code-first entity-relationship fluent-interface
Fluent API with inheritance and generics

I'm writing a fluent API to configure and instantiate a series of "message" objects. I have a hierarchy of message …

java generics fluent-interface
Specifying Foreign Key Entity Framework Code First, Fluent Api

I have a question about defining Foreign Key in EF Code First Fluent API. I have a scenario like this: …

entity-framework ef-code-first foreign-keys fluent-interface
EF Code First: Multiplicity constraint violation

HELP! - I am receiving the following error on my navigational model ArticleType: A relationship multiplicity constraint violation occurred Here …

c# entity-framework code-first fluent-interface
Code-First Reference one-to-many

I have the following two tables: LOCALIZATION Id int Text string DINER Id int Name string Description string Name_LocalizationID …

entity-framework entity code-first fluent-interface