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

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -