SQL Server · Types · Other public types

ArxFunctionArgument

Definition

Namespace
ARX.SDK.Query
Package
ARX.SDK
C#
public sealed class ArxFunctionArgument

One argument of a function row source: by name (p_region => $1) or by position (Name null).

Constructor

  • ArxFunctionArgument(string? name, object? value)

    An argument whose value says its type.

    Parameter Type Description
    namestring?The function's parameter name; null to pass it by position.
    valueobject?The value, sent as a parameter.
  • ArxFunctionArgument(string? name, object? value, Type? type, bool variadic)

    An argument with its type declared, or passed to a VARIADIC parameter.

    Parameter Type Description
    namestring?The function's parameter name; null to pass it by position.
    valueobject?The value, sent as a parameter.
    typeType?The argument's .NET type, sent as a cast, for a null the database can't type by itself.
    variadicboolThe value is an array passed to a VARIADIC parameter.

Properties

  • Type? DeclaredType { get; }

    The declared .NET type, sent as a cast; null to let the value (or the database) decide.

  • bool IsVariadic { get; }

    The value is an array passed to a VARIADIC parameter (VARIADIC $1).

  • string? Name { get; }

    The parameter's name, or null for a positional argument.

  • object? Value { get; }

    Sent as a typed parameter, like a write's value. Null is SQL NULL.