The SQLCastExpression type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SQLCastExpression(String, DataType) |
Initializes a new instance of the SQLCastExpression class
|
|
SQLCastExpression(String, DataType, Int32) |
Initializes a new instance of the SQLCastExpression class
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
|
GetHashCode |
Serves as a hash function for a particular type.
(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 | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Precision |
Sets or returns the precision of the decimal number.
This is the number of number characters that are stored.
The default is 18 precision and 0 scale.
Throws an exception if the data type is not SQL.DataType.Decimal.
|
|
ScaleLength |
Sets or returns the scale of the decimal number.
This is the location within the number where the decimal is placed.
The default is 0.
Throws an exception if the data type is not SQL.DataType.Decimal.
|
|
Size |
The size of the character data type.
|