BaseClasses Documentation

IAdapterSqlFragmentEncoder.ExplicitlyCastExpression Method 

Use operand to generate a SQL cast to string expression.

string ExplicitlyCastExpression(
   string operand,
   OleDbType toType,
   IRelationalDataAdapter adapter
);

Parameters

operand
a column to be used in the cast expression.
toType
the type to convert the operand to when generating the SQL statement.
adapter
the adapter used to create the SQL statement.

Return Value

a cast SQL expression. name="operand" />

See Also

IAdapterSqlFragmentEncoder Interface | BaseClasses Namespace