Table of Contents

Struct SqlObjectName

Namespace
LinqToDB.SqlQuery
Assembly
linq2db.dll

Represents full name of database object (e.g. table, view, function or procedure) split into components.

public readonly record struct SqlObjectName : IEquatable<SqlObjectName>
Implements
Inherited Members
Extension Methods

Constructors

SqlObjectName(string, string?, string?, string?, string?)

Represents full name of database object (e.g. table, view, function or procedure) split into components.

public SqlObjectName(string Name, string? Server = null, string? Database = null, string? Schema = null, string? Package = null)

Parameters

Name string

Name of object in current scope (e.g. in schema or package).

Server string

Database server or linked server name.

Database string

Database/catalog name.

Schema string

Schema/user name.

Package string

Package/module/library name (used with functions and stored procedures).

Properties

Database

Database/catalog name.

public string? Database { get; init; }

Property Value

string

Name

Name of object in current scope (e.g. in schema or package).

public string Name { get; init; }

Property Value

string

Package

Package/module/library name (used with functions and stored procedures).

public string? Package { get; init; }

Property Value

string

Schema

Schema/user name.

public string? Schema { get; init; }

Property Value

string

Server

Database server or linked server name.

public string? Server { get; init; }

Property Value

string

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

A string containing a fully qualified type name.