Moved to fluent. Added support for Modifiers. Fixtures to load intial test data

This commit is contained in:
unknown committed 2011-01-30 12:44:05 +05:30
1 parent c841dc25f4
commit eb48c3754a
272 files changed
+10470 -47160

No files matched your search

@@ -0,0 +1,17 @@
using System;
using FluentNHibernate.Conventions;
using System.Reflection;
using FluentNHibernate;
namespace Tanshu.Accounts.Conventions
{
public class CustomForeignKeyConvention : ForeignKeyConvention
{
protected override string GetKeyName(Member property, Type type)
{
return property == null
? type.Name + "ID"
: property.Name + "ID";
}
}
}