Beispiel #1
0
        private void MapVersion <T>(MemberInfoMetadata version, IClassMapper <T> classMapper)
            where T : class
        {
            if (version.IsNull())
            {
                return;
            }

            classMapper
            .Version(
                version.Name,
                m =>
            {
                m.Type(new TimestampType());
                m.Generated(VersionGeneration.Never);
                AccessorHelper.SetAccessor(version, m);
            });
        }