The SQLCastExpression type exposes the following members.

Constructors

  Name Description
Public method SQLCastExpression(String, DataType)
Initializes a new instance of the SQLCastExpression class
Public method SQLCastExpression(String, DataType, Int32)
Initializes a new instance of the SQLCastExpression class

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method 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.)
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property 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.
Public property 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.
Public property Size
The size of the character data type.

See Also