Thrown when ISession.Load() selects a row with the given primary key (identifier value)
but the row's discriminator value specifies a different subclass from the one requested
Namespace: NHibernate
Assembly: NHibernate (in NHibernate)
Version: 1.2.0.4000
Syntax
| Visual Basic (Declaration) |
|---|
<SerializableAttribute> _ Public Class WrongClassException _ Inherits HibernateException _ Implements ISerializable |
| C# |
|---|
[SerializableAttribute] public class WrongClassException : HibernateException, ISerializable |
| Visual C++ |
|---|
[SerializableAttribute] public ref class WrongClassException : public HibernateException, ISerializable |
Inheritance Hierarchy
System.Object
System.Exception
System.ApplicationException
NHibernate.HibernateException
NHibernate.WrongClassException
System.Exception
System.ApplicationException
NHibernate.HibernateException
NHibernate.WrongClassException