C# Class Deveel.Data.Sql.Expressions.SqlCastExpression

An SqlExpression that will cast a value retrieved by the evaluation of another expression into a given SQL data type.
Inheritance: SqlExpression
Show file Open project: deveel/deveeldb Class Usage Examples

Public Methods

Method Description
SqlCastExpression ( SqlExpression value, SqlType sqlType ) : System

Constructs the expression with the a given value to be converted and the conversion type.

Protected Methods

Method Description
GetData ( SerializationInfo info, StreamingContext context ) : void

Private Methods

Method Description
AppendTo ( SqlStringBuilder builder ) : void
SqlCastExpression ( SerializationInfo info, StreamingContext context ) : System

Method Details

GetData() protected method

protected GetData ( SerializationInfo info, StreamingContext context ) : void
info SerializationInfo
context StreamingContext
return void

SqlCastExpression() public method

Constructs the expression with the a given value to be converted and the conversion type.
public SqlCastExpression ( SqlExpression value, SqlType sqlType ) : System
value SqlExpression The expression whose value resulted from its /// evaluation will be casted to the given type.
sqlType SqlType The destination type this expression /// will convert to.
return System