You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fluent NHibernate
Hi List,
i play around with automapping and
a) can't get Version's to work:
The Version Column is defiend in a baseclass:
public abstract class AuditableGuidDomain<T> : BaseDomain<T>,
IAuditable where T : BaseDomain<T>
{
................
public virtual int Version { get; set; }
public class MyVersionConvention : IVersionConvention
{
public void Apply
(FluentNHibernate.Conventions.Instances.IVersionInstance instance)
{
instance.Column("Version");
instance.Not.Nullable();
instance.UnsavedValue("0");
}
}