C# Class NHibernate.NonUniqueObjectException

Inheritance: NHibernate.HibernateException
Exibir arquivo Open project: nhibernate/nhibernate-core

Public Methods

Method Description
NonUniqueObjectException ( String message, object id, string entityName ) : System

Initializes a new instance of the NonUniqueObjectException class.

NonUniqueObjectException ( object id, string entityName ) : System

Initializes a new instance of the NonUniqueObjectException class.

Protected Methods

Method Description
NonUniqueObjectException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the NonUniqueObjectException class.

Private Methods

Method Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void

Method Details

NonUniqueObjectException() protected method

Initializes a new instance of the NonUniqueObjectException class.
protected NonUniqueObjectException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return System

NonUniqueObjectException() public method

Initializes a new instance of the NonUniqueObjectException class.
public NonUniqueObjectException ( String message, object id, string entityName ) : System
message String The message that describes the error.
id object The identifier of the object that caused the exception.
entityName string The EntityName of the object attempted to be loaded.
return System

NonUniqueObjectException() public method

Initializes a new instance of the NonUniqueObjectException class.
public NonUniqueObjectException ( object id, string entityName ) : System
id object The identifier of the object that caused the exception.
entityName string The EntityName of the object attempted to be loaded.
return System