Class TableLikeObject
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
SqlObjectNameName of object.
Description
stringOptional description, associated with current object.
Columns
IReadOnlyCollection<Column>Ordered (by ordinal) list of columns.
Identity
IdentityOptional identity column descriptor.
PrimaryKey
PrimaryKeyOptional primary key descriptor.
Properties
Columns
Ordered (by ordinal) list of columns.
public IReadOnlyCollection<Column> Columns { get; init; }
Property Value
Description
Optional description, associated with current object.
public string? Description { get; init; }
Property Value
Identity
Optional identity column descriptor.
public Identity? Identity { get; init; }
Property Value
Name
Name of object.
public SqlObjectName Name { get; init; }
Property Value
PrimaryKey
Optional primary key descriptor.
public PrimaryKey? PrimaryKey { get; init; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.