سؤال

I have for each Entity a BaseClass and a concrete class.

For Example:

ContactBase

Contact

Contact inherits ContactBase. In Contact, I can override properties of ContactBase. The Problem is now, that FluentNHibernate will map this property twice. How can I avoid this to map properties which are in the concrete class and overrides the one from the base class?

هل كانت مفيدة؟

المحلول

Without knowing more about your models and mapping attempts... perhaps this post could be of use. The problem seems different but the solution might be the same.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top