Initializes a new instance of the LazyInitializationException class.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public LazyInitializationException( string entityName, Object entityId, string message ) |
| Visual Basic |
|---|
Public Sub New ( _ entityName As String, _ entityId As Object, _ message As String _ ) |
| Visual C++ |
|---|
public: LazyInitializationException( String^ entityName, Object^ entityId, String^ message ) |
Parameters
- entityName
- Type: System..::..String
The name of the entity where the exception was thrown
- entityId
- Type: System..::..Object
The id of the entity where the exception was thrown
- message
- Type: System..::..String
The message that describes the error.