Skip to content

Parameter Class ​

Definition ​

Represents a Parameter to be used in a SQL execution statement

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Constructors ​

NameDescription
Parameter()Parameterless constructor for an empty Database Parameter
Parameter(string name, object value, DataValueType type = null)Constructor for creating a database Parameter with a Name and Value

Properties ​

NameDescription
NameName of the parameter as represented in the SQL statement
TypeSpecifies the data type for the database value
ValueValue of the Parameter

Methods ​

NameDescription
void Dispose()
DbParameter ToDbParameter(DatabaseType databaseType, DbCommand command)Returns Parameter ready for use in an SqlCommand