Click or drag to resize
GenericSqlCommandExecuteQueryForObjectT Method (CommandType, String)
执行查询命令,并返回查询所返回的 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
)
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)"]

commandText
Type: SystemString

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

Type Parameters

T

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

Return Value

Type: T

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

See Also