C# Class SqlFu.Executors.PrepareStatement

显示文件 Open project: sapiens/SqlFu

Public Methods

Method Description
AddParam ( this cmd, IDbProvider provider, string name, object value ) : DbParameter
CreateParamsDictionary ( ) : object>[].KeyValuePair
SetupParameters ( this cmd, IDbProvider provider, object args ) : string[]

Method Details

AddParam() public static method

public static AddParam ( this cmd, IDbProvider provider, string name, object value ) : DbParameter
cmd this
provider IDbProvider
name string
value object
return System.Data.Common.DbParameter

CreateParamsDictionary() public static method

public static CreateParamsDictionary ( ) : object>[].KeyValuePair
return object>[].KeyValuePair

SetupParameters() public static method

public static SetupParameters ( this cmd, IDbProvider provider, object args ) : string[]
cmd this
provider IDbProvider
args object
return string[]