Appearance
Parameter Class
Definition
Represents a Parameter to be used in a SQL execution statement
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Constructors
| Name | Description |
|---|---|
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
| Name | Description |
|---|---|
Name | Name of the parameter as represented in the SQL statement |
Type | Specifies the data type for the database value |
Value | Value of the Parameter |
Methods
| Name | Description |
|---|---|
void Dispose() | |
DbParameter ToDbParameter(DatabaseType databaseType, DbCommand command) | Returns Parameter ready for use in an SqlCommand |