Class TableFunction
Table function descriptor.
public sealed record TableFunction : CallableObject, IEquatable<CallableObject>, IEquatable<TableFunction>
- Inheritance
-
TableFunction
- Implements
- Inherited Members
- Extension Methods
Constructors
TableFunction(SqlObjectName, string?, IReadOnlyCollection<Parameter>, Exception?, IReadOnlyCollection<ResultColumn>?)
Table function descriptor.
public TableFunction(SqlObjectName Name, string? Description, IReadOnlyCollection<Parameter> Parameters, Exception? SchemaError, IReadOnlyCollection<ResultColumn>? Result)
Parameters
NameSqlObjectNameFunction name.
DescriptionstringOptional function description.
ParametersIReadOnlyCollection<Parameter>Ordered list of parameters.
SchemaErrorExceptionIf
Resultschema failed to load, contains generated exception.ResultIReadOnlyCollection<ResultColumn>Result set schema or
nullif schema load failed.
Properties
Result
Result set schema or null if schema load failed.
public IReadOnlyCollection<ResultColumn>? Result { get; init; }
Property Value
SchemaError
If Result schema failed to load, contains generated exception.
public Exception? SchemaError { get; init; }