Skip to main content

FunctionRegistry

  • Namespace: PPDS.Dataverse.Query.Execution.Functions
  • Assembly: PPDS.Dataverse
  • Kind: Class

Summary

Registry of scalar functions available for expression evaluation. Function names are case-insensitive per SQL convention.

Members

Methods

CreateDefault

FunctionRegistry CreateDefault()

Creates a FunctionRegistry pre-loaded with all built-in functions.

Invoke

object Invoke(string name, object[] args)

Invokes a registered function by name with the given arguments.

  • Param name: The function name (case-insensitive).

  • Param args: The evaluated argument values.

  • Returns: The function result.

IsRegistered

bool IsRegistered(string name)

Returns true if a function with the given name is registered.

Register

void Register(string name, IScalarFunction function)

Registers a function under the given name (case-insensitive).