Class CallableObject
Describes callable database object, e.g. stored procedure or function.
public abstract record CallableObject : IEquatable<CallableObject>
- Inheritance
-
CallableObject
- Implements
- Derived
- Extension Methods
Constructors
CallableObject(CallableKind, SqlObjectName, string?, IReadOnlyCollection<Parameter>)
Describes callable database object, e.g. stored procedure or function.
protected CallableObject(CallableKind Kind, SqlObjectName Name, string? Description, IReadOnlyCollection<Parameter> Parameters)
Parameters
KindCallableKindCallable object type.
NameSqlObjectNameCallable object name.
DescriptionstringOptional object description.
ParametersIReadOnlyCollection<Parameter>Ordered list of parameters. Doesn't include return value parameter (when object supports it).
Properties
Description
Optional object description.
public string? Description { get; init; }
Property Value
Kind
Callable object type.
public CallableKind Kind { get; init; }
Property Value
Name
Callable object name.
public SqlObjectName Name { get; init; }
Property Value
Parameters
Ordered list of parameters. Doesn't include return value parameter (when object supports it).
public IReadOnlyCollection<Parameter> Parameters { get; init; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.