Table of Contents

Class ProcedureSchema

Namespace
LinqToDB.SchemaProvider
Assembly
linq2db.dll

Describes database procedure or function.

public class ProcedureSchema
Inheritance
ProcedureSchema
Extension Methods

Properties

CatalogName

Name of database, that contains current procedure.

public string? CatalogName { get; set; }

Property Value

string

Description

Gets procedure or function description.

public string? Description { get; set; }

Property Value

string

IsAggregateFunction

Gets flag indicating that it is aggregate function or not.

public bool IsAggregateFunction { get; set; }

Property Value

bool

IsDefaultSchema

Gets flag indicating that procedure defined with default owner/schema or not.

public bool IsDefaultSchema { get; set; }

Property Value

bool

IsFunction

true for function and false for procedure.

public bool IsFunction { get; set; }

Property Value

bool

IsLoaded

Gets flag indicating that procedure tabl result schema loaded. If it is false, procedure doesn't return table-like results or schema loading failed. In latter case check ResultException property for error.

public bool IsLoaded { get; set; }

Property Value

bool

IsResultDynamic

Get or sets flag, indicating that procedure returns dynamic (generic) result.

public bool IsResultDynamic { get; set; }

Property Value

bool

IsTableFunction

Gets flag indicating that it is scalar or table function.

public bool IsTableFunction { get; set; }

Property Value

bool

MemberName

C#-friendly name.

public string MemberName { get; set; }

Property Value

string

PackageName

Name of procedure package/library/module.

public string? PackageName { get; set; }

Property Value

string

Parameters

Gets list of procedure parameters.

public List<ParameterSchema> Parameters { get; set; }

Property Value

List<ParameterSchema>

ProcedureName

Procedure or function name.

public string ProcedureName { get; set; }

Property Value

string

ResultException

Contains exception, generated during schema load.

public Exception? ResultException { get; set; }

Property Value

Exception

ResultTable

Gets table result schema for procedure to table function.

public TableSchema? ResultTable { get; set; }

Property Value

TableSchema

SchemaName

Name of procedure schema/owner.

public string? SchemaName { get; set; }

Property Value

string

SimilarTables

List of tables with the same schema as schema in ResultTable.

public List<TableSchema>? SimilarTables { get; set; }

Property Value

List<TableSchema>