var inspector = (IModelInspector)new SimpleModelInspector();
ModelMapper mapper = new ModelMapper(inspector);
mapper.Class<Model.Entity>(m =>
{
m.Id(x => x.Id, g => g.Generator(Generators.Native));
m.Table("Entities");
m.Version(x => x.Version, map =>
{ map.Column("NHVersion"); });
m.Property(x => x.Data, map =>
map.Type<NHibernate.Type.BinaryBlobType>());
});
I want to be able to exclude a single property from the mapping.
There's a simple method with this mapping usage or I have to change
style and create my personal inspector inheriting from a base one?
Thanks
there is unfortunately not any generic "Exclude", method.
Search the list for more detailed answers, should you need it, as this
has been answered already.
Cheers!
That was the problem.