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

ISql.GetRequestScope Method 

Builds a new RequestScope and the IDbCommand text to execute.

[Visual Basic]
Function GetRequestScope( _
   ByVal IMappedStatement As IMappedStatement, _
   ByVal Object As Object, _
   ByVal ISqlMapSession As ISqlMapSession _
) As RequestScope
[C#]
RequestScope GetRequestScope(
   IMappedStatement mappedStatement,
   Object parameterObject,
   ISqlMapSession session
);

Parameters

mappedStatement
The IMappedStatement.
parameterObject
The parameter object (used by DynamicSql/SimpleDynamicSql). Use to complete the sql statement.
session
The current session

Return Value

A new RequestScope.

See Also

ISql Interface | IBatisNet.DataMapper.Configuration.Sql Namespace