Skip to content

BaseExpressionAttribute.ToString method (1 of 2)

Converts the expression to string for specified dialect.

public string ToString(ISqlDialect dialect)
parameter description
dialect Target dialect

Return Value

The expression formatted for the specified dialect.

See Also


BaseExpressionAttribute.ToString method (2 of 2)

Convert the expression to string. Used by derived expression attributes to convert their constructor arguments to string while supporting other expression attribute types, or a special array with the first argument as the attribute type and others as its constructor parameters.

public static string ToString(object expression, ISqlDialect dialect)
parameter description
expression Expression
dialect Target dialect

Return Value

The expression converted to a string.

Exceptions

exception condition
ArgumentNullException dialect is null.

See Also