BaseExpressionAttribute.ToString method (1 of 2)
namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
Converts the expression to string for specified dialect
public string ToString(ISqlDialect dialect)
parameter | description |
---|---|
dialect | Target dialect |
See Also
- interface ISqlDialect
- class BaseExpressionAttribute
BaseExpressionAttribute.ToString method (2 of 2)
namespace: Serenity.Data.Mapping assembly: Serenity.Net.Data
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 |
Exceptions
exception | condition |
---|---|
ArgumentNullException | Dialect is null |
See Also
- interface ISqlDialect
- class BaseExpressionAttribute