C# Class Shiloh.Persistence.IDbCommandExtensions

Afficher le fichier Open project: ChrisEdwards/Fluency

Méthodes publiques

Méthode Description
AddParameter ( IDbCommand command, string parameterName, object parameterValue ) : IDbDataParameter

Adds the parameter. (Old procedure...should update to use SetParameter)

GetParameter ( this command, string parameterName, DbType dbType ) : IDbDataParameter
SetDecimalParameter ( this command, string parameterName, decimal value ) : IDbDataParameter
SetDoubleParameter ( this command, string parameterName, double value ) : IDbDataParameter
SetParameter ( this command, string parameterName, System.DateTime value ) : IDbDataParameter
SetParameter ( this command, string parameterName, bool value ) : IDbDataParameter
SetParameter ( this command, string parameterName, byte value ) : IDbDataParameter
SetParameter ( this command, string parameterName, char value ) : IDbDataParameter
SetParameter ( this command, string parameterName, int value ) : IDbDataParameter
SetParameter ( this command, string parameterName, object value, DbType dbType ) : IDbDataParameter
SetParameter ( this command, string parameterName, string value ) : IDbDataParameter

Method Details

AddParameter() public static méthode

Adds the parameter. (Old procedure...should update to use SetParameter)
public static AddParameter ( IDbCommand command, string parameterName, object parameterValue ) : IDbDataParameter
command IDbCommand The command.
parameterName string Name of the parameter.
parameterValue object The parameter value.
Résultat IDbDataParameter

GetParameter() public static méthode

public static GetParameter ( this command, string parameterName, DbType dbType ) : IDbDataParameter
command this
parameterName string
dbType DbType
Résultat IDbDataParameter

SetDecimalParameter() public static méthode

public static SetDecimalParameter ( this command, string parameterName, decimal value ) : IDbDataParameter
command this
parameterName string
value decimal
Résultat IDbDataParameter

SetDoubleParameter() public static méthode

public static SetDoubleParameter ( this command, string parameterName, double value ) : IDbDataParameter
command this
parameterName string
value double
Résultat IDbDataParameter

SetParameter() public static méthode

public static SetParameter ( this command, string parameterName, System.DateTime value ) : IDbDataParameter
command this
parameterName string
value System.DateTime
Résultat IDbDataParameter

SetParameter() public static méthode

public static SetParameter ( this command, string parameterName, bool value ) : IDbDataParameter
command this
parameterName string
value bool
Résultat IDbDataParameter

SetParameter() public static méthode

public static SetParameter ( this command, string parameterName, byte value ) : IDbDataParameter
command this
parameterName string
value byte
Résultat IDbDataParameter

SetParameter() public static méthode

public static SetParameter ( this command, string parameterName, char value ) : IDbDataParameter
command this
parameterName string
value char
Résultat IDbDataParameter

SetParameter() public static méthode

public static SetParameter ( this command, string parameterName, int value ) : IDbDataParameter
command this
parameterName string
value int
Résultat IDbDataParameter

SetParameter() public static méthode

public static SetParameter ( this command, string parameterName, object value, DbType dbType ) : IDbDataParameter
command this
parameterName string
value object
dbType DbType
Résultat IDbDataParameter

SetParameter() public static méthode

public static SetParameter ( this command, string parameterName, string value ) : IDbDataParameter
command this
parameterName string
value string
Résultat IDbDataParameter