BaseClasses Documentation

IAdapterSqlFragmentEncoder.Encode Method (BaseColumn, IdentifierAliasInfo, OperationType, IRelationalDataAdapter)

Used during SQL statements generation to get platform specific qualified column name with operation applied to column.

string Encode(
   BaseColumn col,
   IdentifierAliasInfo aliasInfo,
   OperationType operation,
   IRelationalDataAdapter adapter
);

Parameters

col
the column to generate the SQL statement for.
aliasInfo
the alias information used when generating the SQL statement.
operation
the SQL function to be applied on the column.
adapter
the adapter used to create the SQL statement.

Return Value

the SQL function statement for the specified adapter.

See Also

IAdapterSqlFragmentEncoder Interface | BaseClasses Namespace | IAdapterSqlFragmentEncoder.Encode Overload List