Container for all of the metadata about a specific type of Entity.
Inheritance Hierarchy
Breeze.SharpStructuralType
Breeze.SharpEntityType
Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax
The EntityType type exposes the following members.
Methods
Name | Description | |
---|---|---|
CreateEntity |
Creates an entity with this EntityType.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetDataProperty | (Inherited from StructuralType.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetNavigationProperty |
Returns the NavigationProperty with the specified name.
Returns null if none is found.
| |
GetProperty |
Returns either the DataProperty or the NavigationProperty with the specified name.
Returns null if none is found.
(Overrides StructuralTypeGetProperty(String).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString |
Returns the 'Name' of this EntityType.
(Overrides ObjectToString.) |
Properties
Name | Description | |
---|---|---|
AutoGeneratedKeyType |
The AutoGeneratedKeyType for this EntityType.
| |
BaseEntityType |
The base EntityType (if any) for this EntityType.
| |
ClrType | (Inherited from StructuralType.) | |
ComplexProperties | (Inherited from StructuralType.) | |
ConcurrencyProperties |
The DataProperties associated with this EntityType that are concurrency properties.
| |
Custom | (Inherited from StructuralType.) | |
DataProperties | (Inherited from StructuralType.) | |
DefaultResourceName |
The default resource name associated with this EntityType. An EntityType may be queried
via a variety of 'resource names' but this one is used as the default when no resource name
is provided. This will occur when calling loadNavigationProperty or when executing any
EntityQuery that was created via an EntityKey.
| |
ForeignKeyProperties |
The DataProperties associated with this EntityType that are foreign key properties.
| |
InverseForeignKeyProperties |
The DataProperties on other EntityTypes that are foriegn key properties associated with this EntityType.
| |
IsAbstract | (Inherited from StructuralType.) | |
IsAnonymous | (Inherited from StructuralType.) | |
IsEntityType |
Always true - property is defined at the StructuralType level.
(Overrides StructuralTypeIsEntityType.) | |
KeyProperties |
The DataProperties associated with this EntityType that make up it's EntityKey.
| |
MetadataStore | (Inherited from StructuralType.) | |
Name | (Inherited from StructuralType.) | |
NameOnServer | (Inherited from StructuralType.) | |
Namespace | (Inherited from StructuralType.) | |
NavigationProperties |
The NavigationProperty's associated with this EntityType.
| |
Properties |
All of the data and navigation properties on this EntityType.
(Overrides StructuralTypeProperties.) | |
SelfAndSubEntityTypes |
All EntityTypes that are subtypes of this EntityType.
| |
ShortName | (Inherited from StructuralType.) | |
UnmappedProperties | (Inherited from StructuralType.) | |
Validators | (Inherited from StructuralType.) | |
Warnings | (Inherited from StructuralType.) |
See Also