C# Class NHibernate.StaleObjectStateException

Inheritance: NHibernate.StaleStateException
Mostra file Open project: nhibernate/nhibernate-core Class Usage Examples

Public Methods

Method Description
StaleObjectStateException ( string entityName, object identifier ) : System

Initializes a new instance of the StaleObjectStateException class.

Protected Methods

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

Initializes a new instance of the StaleObjectStateException class with serialized data.

Private Methods

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

Method Details

StaleObjectStateException() protected method

Initializes a new instance of the StaleObjectStateException class with serialized data.
protected StaleObjectStateException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo /// The that holds the serialized object /// data about the exception being thrown. ///
context System.Runtime.Serialization.StreamingContext /// The that contains contextual information about the source or destination. ///
return System

StaleObjectStateException() public method

Initializes a new instance of the StaleObjectStateException class.
public StaleObjectStateException ( string entityName, object identifier ) : System
entityName string The EntityName that NHibernate was trying to update in the database.
identifier object The identifier of the object that is stale.
return System