Fluent NHibernate - overriding the default foreign key naming conventi(me.isit.gd)
submitted by
isitgd(35) 2 years, 9 months ago
The default foreign key naming convention for FNH is [table name]_id - this is a bit of a wierd one for me as I like the names all my database objects reflect the names of the objects in C# - it keeps things simple as far as mappings go. So - while building the model for isit.gd I decided to find out how you go about overriding the default by adding a custom convention.
|category: Open Source
|Views: 168
tags:
OpenSource another
Everyones tags:
Your Tags: