fluent nhibernate convention : setting polymorphism mode -
Is it possible to create a simple conference to modify the polymorphous mode of a class, if there is a joint sub-class?
Do this:
Public class EntityMap: Classmap & lt; EntityBase & gt; {Public entityMap () {Polymorphism. Explastic (); }}
But inside a conference. Using IClassConvention does not work, because the Polymorphism property is read only:
Public Class Test Convention: ICLASEnation {Apply Public Zero (ICLASIS instance example) {// read only the assets ! Examples. Polyomorphism = polymorphism. Explicit; }}
Try
example.Polymorphism clear ();
Comments
Post a Comment