C# Класс Contrive.Common.Data.AddDbParameterExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
NewParameter ( this command, string name, DbType type, ParameterDirection direction, object value = null, int size, byte precision = (byte)0, byte scale = (byte)0 ) : IDataParameter

Описание методов

AddOutputParameter() публичный статический Метод

public static AddOutputParameter ( this command, string name, DbType paramType, int size ) : IDbCommand
command this
name string
paramType DbType
size int
Результат IDbCommand

AddParameter() публичный статический Метод

public static AddParameter ( this command, string name, DbType type ) : IDbCommand
command this
name string
type DbType
Результат IDbCommand

AddParameter() публичный статический Метод

public static AddParameter ( this command, string name, DbType type, object value ) : IDbCommand
command this
name string
type DbType
value object
Результат IDbCommand

AddParameter() публичный статический Метод

public static AddParameter ( this command, string name, DbType type, object value, int size ) : IDbCommand
command this
name string
type DbType
value object
size int
Результат IDbCommand

AddParameter() публичный статический Метод

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
Результат IDbCommand