Given:
[ActiveRecord(DiscriminatorValue = "OnState")]
class OnState: UnitState {
//…
}
I got
NHibernate.TransactionException: An error occured when trying to dispose the transaction —> NHibernate.HibernateException: instance not of expected entity type: Model.OnState is not a: Model.UnitState
Hmmm?
Recent Comments