ICustomFunctionOperatorFormattable.Format(Type, String[]) Method

When implemented by a custom function, formats a database-specific SQL command that corresponds to this function.

Namespace: DevExpress.Data.Filtering

Assembly: DevExpress.Data.v21.2.dll

Declaration

string Format(
    Type providerType,
    params string[] operands
)

Parameters

Name Type Description
providerType Type

A Type object specifying a data store (database) provider. For example, MSSqlConnectionProvider.

operands String[]

An array of operands (parameters) passed to a custom function.

Returns

Type Description
String

A String specifying a SQL command, which will substitute a custom function’s calls in query statements.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Format(Type, String[]) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also