iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

LazyLoadProxyFactory.CreateProxy Method 

Builds the specified lazy load proxy for a concrete class with virtual method.

[Visual Basic]
NotOverridable Public Function CreateProxy( _
   ByVal IMappedStatement As IMappedStatement, _
   ByVal Object As Object, _
   ByVal Object As Object, _
   ByVal ISetAccessor As ISetAccessor _
) As Object _
    Implements ILazyFactory.
[C#]
public object CreateProxy(
   IMappedStatement selectStatement,
   Object param,
   Object target,
   ISetAccessor setAccessor
);

Parameters

selectStatement
The mapped statement used to build the lazy loaded object.
param
The parameter object used to build lazy loaded object.
target
The target object which contains the property proxydied..
setAccessor
The proxified member accessor.

Return Value

Return a proxy object

Implements

ILazyFactory.

See Also

LazyLoadProxyFactory Class | IBatisNet.DataMapper.Proxy Namespace