ParameterValue Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The ParameterValue type exposes the following members.
Name | Description | |
---|---|---|
ParameterValue |
Initializes a new instance of the ParameterValue class.
|
Name | Description | |
---|---|---|
DbType |
Gets or sets the DbType value to use on the created DbParameter. By default, it's left to the DbParameter what type to use based on the Value specified.
For strings and DateTime values this might be problematic as often multiple DbType values can be chosen for a given .NET type.
| |
Direction |
Gets or sets the direction of the parameter. Default is Input.
| |
IsNullable |
Gets or sets the value to set the DbParameter.IsNullable to. In general this isn't really necessary as most ADO.NET providers ignore the value. In case you need
to specify expliclty whether the parameter accepts null values, set this property to true. By default DbParameter.IsNullable isn't set and left to the default, which is false.
| |
Precision |
Gets or sets the precision to use for the parameter. By default the precision isn't set.
| |
Scale |
Gets or sets the scale to use for the parameter. By default the scale isn't set.
| |
Size |
Gets or sets the size to use for the parameter. By default the length isn't set
| |
Value |
Gets or sets the for the parameter. Set before the query, the value specified is used as the parameter value. If 'Direction' is set to an output type,
this property will contain the output value after the query has been executed / resultset has been consumed.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |