Interface ITableTypeDescriptor
Provides an interface to describe the mapping relationship between a table or view and a .NET type.
Inherited Members
Namespace: Paradigm.ORM.Data.Descriptors
Assembly: Paradigm.ORM.Data.dll
Syntax
public interface ITableTypeDescriptor : IColumnPropertyDescriptorCollection, ITableDescriptor
Properties
| Improve this Doc View SourceIdentityProperty
Gets the identity column property descriptor.
Declaration
IColumnPropertyDescriptor IdentityProperty { get; }
Property Value
Type | Description |
---|---|
IColumnPropertyDescriptor |
NavigationProperties
Gets a list of navigation property descriptors for all the navigation properties.
Declaration
List<INavigationPropertyDescriptor> NavigationProperties { get; }
Property Value
Type | Description |
---|---|
List<INavigationPropertyDescriptor> |
PrimaryKeyProperties
Gets a list of column property descriptors for all the primary keys.
Declaration
List<IColumnPropertyDescriptor> PrimaryKeyProperties { get; }
Property Value
Type | Description |
---|---|
List<IColumnPropertyDescriptor> |
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 SourceIsNew(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 |
|