Table of Contents

Class CallableObject

Namespace
LinqToDB.Schema
Assembly
linq2db.Tools.dll

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

Kind CallableKind

Callable object type.

Name SqlObjectName

Callable object name.

Description string

Optional object description.

Parameters IReadOnlyCollection<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

string

Kind

Callable object type.

public CallableKind Kind { get; init; }

Property Value

CallableKind

Name

Callable object name.

public SqlObjectName Name { get; init; }

Property Value

SqlObjectName

Parameters

Ordered list of parameters. Doesn't include return value parameter (when object supports it).

public IReadOnlyCollection<Parameter> Parameters { get; init; }

Property Value

IReadOnlyCollection<Parameter>

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.