views:

63

answers:

1

In my NHibernate mapping files I used:

<version name="Version" column="Version" />

to implement versioning. How do I achieve this using fnhibernate?

What should go in here?

public class blaMap : IAutoMappingOverride<bla>
    {
        public void Override(AutoMapping<bla> mapping)
        {
            ????
        }
    }

thanks.

christian

A: 

this did the job:

mapping.Version(x => x.Version);

hope this helps someone else.

Christian

csetzkorn