hi, i'm using the fluentmapping (i.e. no automappings), i have some interfaces implemented by different entities types, can i map these interfaces (or use a convention) to remove the duplicated mapping code of the fields defined by each interface?
for example i have this interfaces interface IName { string Name {get;set;} } interface IDescription { string Description {get;set; } and this type class TypeA : IName, IDescription { //IName Impl //IDescription Impl int Value; } what i like is to use something as class NameMap : ClassMap<IName> { //map property Name } class DescriptionMap : ClassMap<IDescription> { //map property Description } class TypeAMap : ClassMap<TypeA> { //explicitly map only the property Value using NameMap/DescriptionMap } is it possible? thanks -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" group. To unsubscribe from this group and stop receiving emails from it, send an email to fluent-nhibernate+unsubscr...@googlegroups.com. To post to this group, send email to fluent-nhibernate@googlegroups.com. Visit this group at https://groups.google.com/group/fluent-nhibernate. For more options, visit https://groups.google.com/d/optout.