Skip to main content

IScalarFunction

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

Summary

A scalar function that accepts arguments and returns a single value. Implementations handle NULL propagation per SQL semantics.

Members

Methods

Execute

object Execute(object[] args)

Execute the function with the given evaluated argument values.

  • Param args: The evaluated argument values (may contain nulls).

  • Returns: The function result, or null.

Properties

MaxArgs

int MaxArgs { get; }

Maximum number of arguments the function accepts. Use int.MaxValue for variadic.

MinArgs

int MinArgs { get; }

Minimum number of arguments the function accepts.