2011-02-04 19:30:55 +00:00
|
|
|
|
//using System;
|
|
|
|
|
//using FluentNHibernate.Conventions;
|
|
|
|
|
//using System.Reflection;
|
|
|
|
|
//using FluentNHibernate;
|
|
|
|
|
//using FluentNHibernate.Conventions.Instances;
|
|
|
|
|
//using FluentNHibernate.Conventions.Inspections;
|
|
|
|
|
//using FluentNHibernate.Conventions.AcceptanceCriteria;
|
|
|
|
|
//using Tanshu.Accounts.Contracts;
|
2011-01-31 20:33:22 +00:00
|
|
|
|
|
2011-02-04 19:30:55 +00:00
|
|
|
|
//namespace Tanshu.Accounts.Conventions
|
|
|
|
|
//{
|
|
|
|
|
// public class NotNullConvention : IPropertyConvention
|
|
|
|
|
// {
|
|
|
|
|
// public void Apply(IPropertyInstance instance)
|
|
|
|
|
// {
|
|
|
|
|
// instance.Not.Nullable();
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
//}
|