ExecuteDataTable(SqlConnection, string, SqlParameter[], CommandType, SqlTransaction) Method

A SqlConnection extension method that executes the data table operation.
Namespace: Z.Data.Extensions
Assembly: Z.ExtensionMethods.WithNamespace.dll

Syntax

public static DataTable ExecuteDataTable(this SqlConnection this, string cmdText, SqlParameter[] parameters, CommandType commandType, SqlTransaction transaction)

Parameters

this
Type:  SqlConnection
The @this to act on.
cmdText
Type:  String
The command text.
parameters
Type:  SqlParameter[]
Options for controlling the operation.
commandType
Type:  CommandType
Type of the command.
transaction
The transaction.

Return Value

Type:  DataTable
Powered by ZZZ Projects .NET Documentation Generator 0.0.2 (Alpha)