Table

Models a database table or view.

Namespace:
KpokPatagon.Data.DatabaseSchema
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No

Properties

Columns

A collection of TableColumns.

Signature:
public List<TableColumn> Columns { get; set; }

ConnectionName

The name of the connection to access this table.

Signature:
public String ConnectionName { get; set; }
Remarks

The schema discoverer does not provides this information it is mostly uses by the DSC process in the migrations library.

FileGroup

The file group or table space where the tabla is stored.

Signature:
public String FileGroup { get; set; }

ForeignKeys

A collection of ForeignKeys.

Signature:
public List<ForeignKey> ForeignKeys { get; set; }

Indexes

A collection of Indexes.

Signature:
public List<Index> Indexes { get; set; }

IsView

Whether the information modeled is a View instead of a Table.

Signature:
public Boolean IsView { get; set; }

Name

The name of the object.

Signature:
public String Name { get; set; }

PrimaryKey

Table's primary key information.

Signature:
public Index PrimaryKey { get; set; }

Schema

Schema to which the table blongs to.

Signature:
public String Schema { get; set; }

SequenceName

The name of the sequence used for autonumeric columns (optional).

Signature:
public String SequenceName { get; set; }
Remarks

The schema discoverer does not provides this information it is mostly uses by the DSC process in the migrations library.

Sequences are mostly used in Oracle for autonumeric columnas, it is not used in any other database engine.

Methods

ToString

Returns a textual representation of this table.

Signature:
public String ToString()