Table of Contents

Class SqlTable

Namespace
LfrlAnvil.Sql.Objects
Assembly
LfrlAnvil.Sql.Core.dll

Represents an SQL table.

public abstract class SqlTable : SqlObject, ISqlTable, ISqlObject
Inheritance
SqlTable
Implements
Derived
Inherited Members
Extension Methods

Constructors

SqlTable(SqlSchema, SqlTableBuilder, SqlColumnCollection, SqlConstraintCollection)

Creates a new SqlTable instance.

protected SqlTable(SqlSchema schema, SqlTableBuilder builder, SqlColumnCollection columns, SqlConstraintCollection constraints)

Parameters

schema SqlSchema

Schema that this table belongs to.

builder SqlTableBuilder

Source builder.

columns SqlColumnCollection

Collection of columns that belong to this table.

constraints SqlConstraintCollection

Collection of constraints that belong to this table.

Properties

Columns

Collection of columns that belong to this table.

public SqlColumnCollection Columns { get; }

Property Value

SqlColumnCollection

Constraints

Collection of constraints that belong to this table.

public SqlConstraintCollection Constraints { get; }

Property Value

SqlConstraintCollection

Info

Represents a full name information of this table.

public SqlRecordSetInfo Info { get; }

Property Value

SqlRecordSetInfo

Node

Underlying SqlTableNode instance that represents this table.

public SqlTableNode Node { get; }

Property Value

SqlTableNode

Schema

Schema that this table belongs to.

public SqlSchema Schema { get; }

Property Value

SqlSchema

Methods

ToString()

Returns a string representation of this SqlTable instance.

[Pure]
public override string ToString()

Returns

string

String representation.