By tag: Fluent
0
kicks
Are you “fluent” in C#?
I’m starting a new codeplex project to build a fluent library for design patterns. For example let’s take those examples.
0
kicks
Fluent NHibernate with System.ComponentModel.DataAnnotations
Want to map your domain with DataAnnotations validation? Using Fluent NHibernate? Then take a look at how to create a simple convention!
0
kicks
Another C# trick: Fluents, Inheritance and Extension Methods
Here’s a scenario which Damien and I encountered recently.
We needed a way of specifying Facets for properties on Entities, i.e. things like Nullable, MaxLength, Precision etc.
And we needed a class hierarchy because different types of properties have different sets of available facets.
The...
0
kicks
Table Per Subclass Inheritance Mapping with Fluent nHibernate
This is the third in a short series of posts I am working on. While reading through NHibernate in Action I thought to my self that I should create these same examples of Inheritance mapping using Fluent nHibernate to show how simple these mappings can be.
0
kicks
Table Per Class Hierarchy Inheritance Mapping with Fluent nHibernate
This is the second in a short series of posts I am working on. While reading through NHibernate in Action I thought to my self that I should create these same examples of Inheritance mapping using Fluent nHibernate to show how simple these mappings can be.
The three types of Inheritance mappings ...
0
kicks
Table Per Class Inheritance Mapping with Fluent nHibernate
This is the first in a short series of posts I am working on. While reading through NHibernate in Action I thought to my self that I should create these same examples of Inheritance mapping using Fluent nHibernate to show how simple these mappings can be.
0
kicks
Building a Progressive Fluent Interface
Taking a look at how to build a Progressive Fluent Interface which is a DSL where the options can and will change as you progress through the syntax. This is a useful form of a fluent interface if the want to be able to skillfully guide the user down only one path at a time.
0
kicks
Fluent NHibernate new style mappings - powerful semantics
So today I updated to the latest build of Fluent NHibernate. As any of you who might have done the same have discovered there are some breaking changes. I wasn’t sure I liked the new class based conventions at first, especially since it wasn’t clear at first how to tackle altering my mappings. Then...
0
kicks
Learning how to create a simple Fluent DSL via Method Chaining
Take a look at how to create a simple Fluent DSL which is built via Method Chaining.
We will build this DSL from the ground up and talk about the various decisions which were made along the way. This is just a simple example of how you can create a internal DSL for your application with very litt...
0
kicks
A Little More Sugar for Testing Routes in asp.net MVC
Building on the Fluent Route Testing from MVC Contrib, this is another extension for testing ignored Routes.
0
kicks
Mapping a One-To-Many Relationship with Fluent-NHibernate w/ Composite
Taking a look at how to setup the NHibernate mappings using Fluent-NHibernate when you have a One-To-Many relationship which uses composite-id's.
0
kicks
Fluent NHibernate Introduction
Article introduces Fluent NHibernate and quick start guide. Simple web application is available to download for everyone willing to play with Fluent NHibernate.
0
kicks
Skinning the Cat with Fluent NHibernate
As you may have noticed, I have become interested in the concept of Object Relational Mapping and the NHibernate framework. One of the more painful/tedious aspects of using NHibernate is hand writing the xml mapping files. That is why I got excited when I heard that Jeremy Miller was open sourcing h...
0
kicks
Linq Framework Design Guidelines - evolve into optimized frameworks
This is from the team that brought you ‘Framework Design Guidelines’ led by Krzysztof Cwalina, an individual we are not shy to recognize as an amazing mind. Look for this content (as shared here from their internal work) in the next of the book For example :
defer execution of query operator imp...
0
kicks
Building A Fluent Interface for MEF
Lately I've been digging more and more into the first CTP of the Managed Extensibility Framework (MEF) coming out of Krzysztof Cwalina's team here at Microsoft. By default, a developer needs to sprinkle Export and Import attributes in their classes at the point they are needing something to be injec...