SqlMapper.QueryMultiple Method (IDbConnection, CommandDefinition) |
Execute a command that returns multiple result sets, and access each in turn
Namespace: DapperAssembly: VirtualRadar.Database (in VirtualRadar.Database.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic static SqlMapper. GridReader QueryMultiple(
this IDbConnection cnn,
CommandDefinition command
)
<ExtensionAttribute>
Public Shared Function QueryMultiple (
cnn As IDbConnection,
command As CommandDefinition
) As SqlMapper.GridReader
public:
[ExtensionAttribute]
static SqlMapper. GridReader^ QueryMultiple(
IDbConnection^ cnn,
CommandDefinition command
)
[<ExtensionAttribute>]
static member QueryMultiple :
cnn : IDbConnection *
command : CommandDefinition -> SqlMapper. GridReader
Parameters
- cnn
- Type: System.Data.IDbConnection
- command
- Type: Dapper.CommandDefinition
Return Value
Type:
SqlMapper.GridReaderUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDbConnection. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also