Click or drag to resize
IDbFactoryCreateCommand Method
根据指定数据返回Command对象,所有的数据操作均应执行此方法来获取Command对象

Namespace: Adf.Db
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
IDbCommand CreateCommand(
	string sqlString,
	bool storedProcedure,
	params IDbDataParameter[] parames
)

Parameters

sqlString
Type: SystemString
执行串
storedProcedure
Type: SystemBoolean
是否以存储过程执行
parames
Type: System.DataIDbDataParameter
参数列表

Return Value

Type: IDbCommand

[Missing <returns> documentation for "M:Adf.Db.IDbFactory.CreateCommand(System.String,System.Boolean,System.Data.IDbDataParameter[])"]

See Also