C# Class Tiraggo.Interfaces.tgParameter

Afficher le fichier Open project: BrewDawg/Tiraggo Class Usage Examples

Méthodes publiques

Méthode Description
tgParameter ( ) : System
tgParameter ( string name, object value ) : System

This is the provider independent way to use parameters, you can do so with the other methods as well but this is the preferred constructor for all input parameters.

tgParameter ( string name, object value, tgParameterDirection direction ) : System

Use this constructor for non-input parameters only.

tgParameter ( string name, object value, tgParameterDirection direction, DbType type, int size ) : System

Use this constructor for non-input parameters only.

tgParameter ( string name, tgParameterDirection direction, DbType type, int size ) : System

Use this constructor for non-input parameters only.

Method Details

tgParameter() public méthode

public tgParameter ( ) : System
Résultat System

tgParameter() public méthode

This is the provider independent way to use parameters, you can do so with the other methods as well but this is the preferred constructor for all input parameters.
public tgParameter ( string name, object value ) : System
name string The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID".
value object The value of the parameter
Résultat System

tgParameter() public méthode

Use this constructor for non-input parameters only.
public tgParameter ( string name, object value, tgParameterDirection direction ) : System
name string The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID".
value object The value of the parameter
direction tgParameterDirection The direction of the parameter
Résultat System

tgParameter() public méthode

Use this constructor for non-input parameters only.
public tgParameter ( string name, object value, tgParameterDirection direction, DbType type, int size ) : System
name string The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID".
value object The value of the parameter
direction tgParameterDirection The parameter direction
type DbType The System.Data.DbType of the parameter
size int The size. For strings the length, for most others 0 can be passed in
Résultat System

tgParameter() public méthode

Use this constructor for non-input parameters only.
public tgParameter ( string name, tgParameterDirection direction, DbType type, int size ) : System
name string The name of the parameter without a prefix, for example, "EmployeeID" not "@EmployeeID".
direction tgParameterDirection The parameter direction
type DbType The System.Data.DbType of the parameter
size int The size. For strings the length, for most others 0 can be passed in
Résultat System