Table of Contents

Class TableLikeObject

Namespace
LinqToDB.Schema
Assembly
linq2db.Tools.dll

Queryable table-like object descriptor.

public abstract record TableLikeObject : IEquatable<TableLikeObject>
Inheritance
TableLikeObject
Implements
Derived
Extension Methods

Constructors

TableLikeObject(SqlObjectName, string?, IReadOnlyCollection<Column>, Identity?, PrimaryKey?)

Queryable table-like object descriptor.

protected TableLikeObject(SqlObjectName Name, string? Description, IReadOnlyCollection<Column> Columns, Identity? Identity, PrimaryKey? PrimaryKey)

Parameters

Name SqlObjectName

Name of object.

Description string

Optional description, associated with current object.

Columns IReadOnlyCollection<Column>

Ordered (by ordinal) list of columns.

Identity Identity

Optional identity column descriptor.

PrimaryKey PrimaryKey

Optional primary key descriptor.

Properties

Columns

Ordered (by ordinal) list of columns.

public IReadOnlyCollection<Column> Columns { get; init; }

Property Value

IReadOnlyCollection<Column>

Description

Optional description, associated with current object.

public string? Description { get; init; }

Property Value

string

Identity

Optional identity column descriptor.

public Identity? Identity { get; init; }

Property Value

Identity

Name

Name of object.

public SqlObjectName Name { get; init; }

Property Value

SqlObjectName

PrimaryKey

Optional primary key descriptor.

public PrimaryKey? PrimaryKey { get; init; }

Property Value

PrimaryKey

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.