c# - Table per type in fluent nhibernate using IAutoMappingOverride -
is possible create table per type mapping using fluent nhibernate iautomappingoverride interface? want avoid writing out full mapping models.
not using iautomappingoverride automappingconfiguration
class myautomappingconfiguration : defaultautomappingconfiguration { public override bool isdiscriminated(type type) { return false; // or whatever classes should discriminate instead of table per type } }
Comments
Post a Comment