Interface ITableDescriptor
Provides an interface to describe a database table.
Namespace: Paradigm.ORM.Data.Descriptors
Assembly: Paradigm.ORM.Data.dll
Syntax
public interface ITableDescriptor
Properties
| Improve this Doc View SourceAllColumns
Gets a list of all the columns.
Declaration
List<IColumnDescriptor> AllColumns { get; }
Property Value
Type | Description |
---|---|
List<IColumnDescriptor> |
CatalogName
Gets the name of the database catalog.
Declaration
string CatalogName { get; }
Property Value
Type | Description |
---|---|
System.String |
IdentityColumn
Gets the identity column descriptor.
Declaration
IColumnDescriptor IdentityColumn { get; }
Property Value
Type | Description |
---|---|
IColumnDescriptor |
PrimaryKeyColumns
Gets a list of column descriptors for all the primary keys.
Declaration
List<IColumnDescriptor> PrimaryKeyColumns { get; }
Property Value
Type | Description |
---|---|
List<IColumnDescriptor> |
SchemaName
Gets the name of the database schema.
Declaration
string SchemaName { get; }
Property Value
Type | Description |
---|---|
System.String |
SimpleColumns
Gets a list of all the columns that aren't identities.
Declaration
List<IColumnDescriptor> SimpleColumns { get; }
Property Value
Type | Description |
---|---|
List<IColumnDescriptor> |
Remarks
Simple columns does not include the identity properties but will contain the primary keys.
TableName
Gets the name of the table.
Declaration
string TableName { get; }
Property Value
Type | Description |
---|---|
System.String |