Show / Hide Table of Contents

Class TableDescriptor

Provides the means to describe a database table.

Inheritance
System.Object
TableDescriptor
Implements
ITableDescriptor
Namespace: Paradigm.ORM.Data.Descriptors
Assembly: Paradigm.ORM.Data.dll
Syntax
public class TableDescriptor : object, ITableDescriptor

Constructors

| Improve this Doc View Source

TableDescriptor(ITable, List<IColumn>, List<IConstraint>)

Initializes a new instance of the TableTypeDescriptor class.

Declaration
public TableDescriptor(ITable table, List<IColumn> columns, List<IConstraint> constraints)
Parameters
Type Name Description
ITable table

The table schema.

List<IColumn> columns

The columns schema.

List<IConstraint> constraints

The constraints schema.

See Also
TableAttribute
TableTypeAttribute

Properties

| Improve this Doc View Source

AllColumns

Gets a list of all the columns.

Declaration
public virtual List<IColumnDescriptor> AllColumns { get; }
Property Value
Type Description
List<IColumnDescriptor>
| Improve this Doc View Source

CatalogName

Gets the name of the database catalog.

Declaration
public virtual string CatalogName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

IdentityColumn

Gets the identity column descriptor.

Declaration
public virtual IColumnDescriptor IdentityColumn { get; }
Property Value
Type Description
IColumnDescriptor
| Improve this Doc View Source

PrimaryKeyColumns

Gets a list of column descriptors for all the primary keys.

Declaration
public virtual List<IColumnDescriptor> PrimaryKeyColumns { get; }
Property Value
Type Description
List<IColumnDescriptor>
| Improve this Doc View Source

SchemaName

Gets the name of the database schema.

Declaration
public virtual string SchemaName { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

SimpleColumns

Gets a list of column descriptors for all the simple columns.

Declaration
public virtual List<IColumnDescriptor> SimpleColumns { get; }
Property Value
Type Description
List<IColumnDescriptor>
Remarks

Simple columns does not include the identity columns but will contain the primary keys.

| Improve this Doc View Source

TableName

Gets the name of the table.

Declaration
public virtual string TableName { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

ToString()

Returns a that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A that represents this instance.

Implements

ITableDescriptor

Extension Methods

ObjectExtensions.ThrowIfFails<TException>(Object, Action, String)
ObjectExtensions.ThrowIfFails<TException, TResult>(Object, Func<TResult>, String)
ObjectExtensions.ThrowIfFailsAsync<TException>(Object, Func<Task>, String)
ObjectExtensions.ThrowIfFailsAsync<TException, TResult>(Object, Func<Task<TResult>>, String)

See Also

ITableTypeDescriptor
  • Improve this Doc
  • View Source
Powered by MiracleDevs ©2017. Code licensed under the MIT License.
Documentation generated by DocFX.