Show / Hide Table of Contents

Interface ITableTypeDescriptor

Provides an interface to describe the mapping relationship between a table or view and a .NET type.

Inherited Members
IColumnPropertyDescriptorCollection.Type
IColumnPropertyDescriptorCollection.TypeName
IColumnPropertyDescriptorCollection.AllProperties
ITableDescriptor.CatalogName
ITableDescriptor.SchemaName
ITableDescriptor.TableName
ITableDescriptor.IdentityColumn
ITableDescriptor.PrimaryKeyColumns
ITableDescriptor.SimpleColumns
ITableDescriptor.AllColumns
Namespace: Paradigm.ORM.Data.Descriptors
Assembly: Paradigm.ORM.Data.dll
Syntax
public interface ITableTypeDescriptor : IColumnPropertyDescriptorCollection, ITableDescriptor

Properties

| Improve this Doc View Source

IdentityProperty

Gets the identity column property descriptor.

Declaration
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
List<INavigationPropertyDescriptor> NavigationProperties { get; }
Property Value
Type Description
List<INavigationPropertyDescriptor>
| Improve this Doc View Source

PrimaryKeyProperties

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

Declaration
List<IColumnPropertyDescriptor> PrimaryKeyProperties { get; }
Property Value
Type Description
List<IColumnPropertyDescriptor>
| Improve this Doc View Source

SimpleProperties

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

Declaration
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.

Methods

| Improve this Doc View Source

IsNew(Object)

Determines whether the specified entity is new.

Declaration
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.

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

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