Fluent Nhibernate table-per-subclass with discriminator strategy -
is there anyway use fluent in order implement table-per-subclass discriminator strategy? of documentation i've seen, use of discriminator tells fluent use table-per-class rather table-per-subclass.
i having similar issue. far option have been able think of put property on base class , have set operation protected. class inherits base, sets property in constructor. far have not found better way.
in case have class references base class , want query type of subclass in reference , filter on in query found no way apart suggested.
Comments
Post a Comment