Skip to content

FunctionCallCriteria class

namespace: Serenity.Data   assembly: Serenity.Net.Services

Criteria object that identifies a function call.

public abstract class FunctionCallCriteria : BaseCriteria
parameter description
arguments The arguments.

Public Members

name description
Arguments { get; } Gets a copy of the arguments. Mutating the returned array does not affect this instance.
abstract GetFunctionName(…) Gets the function name
override ToString(…)

Protected Members

name description
FunctionCallCriteria(…) Criteria object that identifies a function call.
virtual AppendArguments(…) Appends the arguments
virtual AppendCloseParenthesis(…) Appends the closing parenthesis
virtual AppendFunctionName(…) Appends the function name.
virtual AppendOpenParenthesis(…) Appends the opening parenthesis
virtual CloneWithArguments(…) Creates a copy of this function criteria with the specified arguments.

Remarks

Function-call criteria can be rendered to SQL and represented in criteria JSON. JSON deserialization resolves calls through FunctionCallCriteriaFactory. The default factory supports only UPPER; safe request validators can impose stricter per-function argument rules.

See Also