Show / Hide Table of Contents

Class TableTypeDescriptor

Provides the means to describe the mapping relationship between a table and a .NET type.

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

Constructors

| Improve this Doc View Source

TableTypeDescriptor(Type)

Initializes a new instance of the TableTypeDescriptor class.

Declaration
public TableTypeDescriptor(Type type)
Parameters
Type Name Description
Type type

The type containing the mapping information, or the reference to the mapping information.

See Also
TableAttribute
TableTypeAttribute

Properties

| Improve this Doc View Source

AllColumns

Gets a list of column property descriptors for all the properties.

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

AllProperties

Gets a list of column property descriptors for all the properties.

Declaration
public virtual List<IColumnPropertyDescriptor> AllProperties { get; }
Property Value
Type Description
List<IColumnPropertyDescriptor>
| 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

IdentityProperty

Gets the identity column property descriptor.

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

NavigationProperties

Gets a list of navigation property descriptors for all the navigation properties.

Declaration
public virtual List<INavigationPropertyDescriptor> NavigationProperties { get; }
Property Value
Type Description
List<INavigationPropertyDescriptor>
| 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

PrimaryKeyProperties

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

Declaration
public virtual List<IColumnPropertyDescriptor> PrimaryKeyProperties { get; }
Property Value
Type Description
List<IColumnPropertyDescriptor>
| 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

SimpleProperties

Gets a list of column property descriptors for all the simple properties.

Declaration
public virtual List<IColumnPropertyDescriptor> SimpleProperties { get; }
Property Value
Type Description
List<IColumnPropertyDescriptor>
Remarks

Simple properties does not include the identity properties 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
| Improve this Doc View Source

Type

Gets the mapping type.

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

TypeName

Gets the name of the type.

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

Methods

| Improve this Doc View Source

IsNew(Object)

Determines whether the specified entity is new.

Declaration
public bool IsNew(object entity)
Parameters
Type Name Description
System.Object entity

The entity.

Returns
Type Description
System.Boolean

true if the specified entity is new; otherwise, false.

| 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

ITableTypeDescriptor
IColumnPropertyDescriptorCollection
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.