Click or drag to resize
GenericSqlCommandExecuteQueryForObjectT Method (CommandType, String, GenericSqlCommandParameter)
执行查询命令,并返回查询所返回的 DataSet 结果集。

Namespace: X3Platform.Data
Assembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public T ExecuteQueryForObject<T>(
	CommandType commandType,
	string commandText,
	GenericSqlCommandParameter[] commandParameters
)
where T : new()

Parameters

commandType
Type: System.DataCommandType

[Missing <param name="commandType"/> documentation for "M:X3Platform.Data.GenericSqlCommand.ExecuteQueryForObject``1(System.Data.CommandType,System.String,X3Platform.Data.GenericSqlCommandParameter[])"]

commandText
Type: SystemString

[Missing <param name="commandText"/> documentation for "M:X3Platform.Data.GenericSqlCommand.ExecuteQueryForObject``1(System.Data.CommandType,System.String,X3Platform.Data.GenericSqlCommandParameter[])"]

commandParameters
Type: X3Platform.DataGenericSqlCommandParameter

[Missing <param name="commandParameters"/> documentation for "M:X3Platform.Data.GenericSqlCommand.ExecuteQueryForObject``1(System.Data.CommandType,System.String,X3Platform.Data.GenericSqlCommandParameter[])"]

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:X3Platform.Data.GenericSqlCommand.ExecuteQueryForObject``1(System.Data.CommandType,System.String,X3Platform.Data.GenericSqlCommandParameter[])"]

Return Value

Type: T

[Missing <returns> documentation for "M:X3Platform.Data.GenericSqlCommand.ExecuteQueryForObject``1(System.Data.CommandType,System.String,X3Platform.Data.GenericSqlCommandParameter[])"]

See Also