Create a LazyInitializer to handle all of the Methods/Properties that are called
on the Proxy.
Namespace: NHibernate.ProxyAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
protected internal AbstractLazyInitializer( string entityName, Object id, ISessionImplementor session ) |
Visual Basic |
---|
Protected Friend Sub New ( _ entityName As String, _ id As Object, _ session As ISessionImplementor _ ) |
Visual C++ |
---|
protected public: AbstractLazyInitializer( String^ entityName, Object^ id, ISessionImplementor^ session ) |
Parameters
- entityName
- Type: System..::..String
The entityName
- id
- Type: System..::..Object
The Id of the Object we are Proxying.
- session
- Type: NHibernate.Engine..::..ISessionImplementor
The ISession this Proxy is in.