C# Class Contrive.Common.Data.AddDbParameterExtensions

Afficher le fichier Open project: alanstevens/Contrive

Méthodes publiques

Méthode Description
AddOutputParameter ( this command, string name, DbType paramType, int size ) : IDbCommand
AddParameter ( this command, string name, DbType type ) : IDbCommand
AddParameter ( this command, string name, DbType type, object value ) : IDbCommand
AddParameter ( this command, string name, DbType type, object value, int size ) : IDbCommand
AddParameter ( this command, string name, DbType type, object value, int size, ParameterDirection direction ) : IDbCommand

Private Methods

Méthode Description
NewParameter ( this command, string name, DbType type, ParameterDirection direction, object value = null, int size, byte precision = (byte)0, byte scale = (byte)0 ) : IDataParameter

Method Details

AddOutputParameter() public static méthode

public static AddOutputParameter ( this command, string name, DbType paramType, int size ) : IDbCommand
command this
name string
paramType DbType
size int
Résultat IDbCommand

AddParameter() public static méthode

public static AddParameter ( this command, string name, DbType type ) : IDbCommand
command this
name string
type DbType
Résultat IDbCommand

AddParameter() public static méthode

public static AddParameter ( this command, string name, DbType type, object value ) : IDbCommand
command this
name string
type DbType
value object
Résultat IDbCommand

AddParameter() public static méthode

public static AddParameter ( this command, string name, DbType type, object value, int size ) : IDbCommand
command this
name string
type DbType
value object
size int
Résultat IDbCommand

AddParameter() public static méthode

public static AddParameter ( this command, string name, DbType type, object value, int size, ParameterDirection direction ) : IDbCommand
command this
name string
type DbType
value object
size int
direction ParameterDirection
Résultat IDbCommand