Click or drag to resize
ParameterValue Class
Class which is used to specify parameter specific aspects for a value specified in a plain SQL query call.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ORMSupportClassesParameterValue

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.2.0.0 (5.2.17.0403)
Syntax
public class ParameterValue

The ParameterValue type exposes the following members.

Constructors
  NameDescription
Public methodParameterValue
Initializes a new instance of the ParameterValue class.
Top
Properties
  NameDescription
Public propertyDbType
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.
Public propertyDirection
Gets or sets the direction of the parameter. Default is Input.
Public propertyIsNullable
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.
Public propertyPrecision
Gets or sets the precision to use for the parameter. By default the precision isn't set.
Public propertyScale
Gets or sets the scale to use for the parameter. By default the scale isn't set.
Public propertySize
Gets or sets the size to use for the parameter. By default the length isn't set
Public propertyValue
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.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also