Class SqlTable
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
SqlSchemaSchema that this table belongs to.
builder
SqlTableBuilderSource builder.
columns
SqlColumnCollectionCollection of columns that belong to this table.
constraints
SqlConstraintCollectionCollection of constraints that belong to this table.
Properties
Columns
Collection of columns that belong to this table.
public SqlColumnCollection Columns { get; }
Property Value
Constraints
Collection of constraints that belong to this table.
public SqlConstraintCollection Constraints { get; }
Property Value
Info
Represents a full name information of this table.
public SqlRecordSetInfo Info { get; }
Property Value
Node
Underlying SqlTableNode instance that represents this table.
public SqlTableNode Node { get; }
Property Value
Schema
Schema that this table belongs to.
public SqlSchema Schema { get; }
Property Value
Methods
ToString()
Returns a string representation of this SqlTable instance.
[Pure]
public override string ToString()
Returns
- string
String representation.