Retrieve the user-supplied delegate to handle non-existent entity scenarios.
Namespace: NHibernate.CfgAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public IEntityNotFoundDelegate EntityNotFoundDelegate { get; set; } |
Visual Basic |
---|
Public Property EntityNotFoundDelegate As IEntityNotFoundDelegate Get Set |
Visual C++ |
---|
public: property IEntityNotFoundDelegate^ EntityNotFoundDelegate { IEntityNotFoundDelegate^ get (); void set (IEntityNotFoundDelegate^ value); } |
Remarks
Specify a user-supplied delegate to be used to handle scenarios where an entity could not be
located by specified id. This is mainly intended for EJB3 implementations to be able to
control how proxy initialization errors should be handled...