EntityType Class Breeze.sharp
Container for all of the metadata about a specific type of Entity.
Inheritance Hierarchy

SystemObject
  Breeze.SharpStructuralType
    Breeze.SharpEntityType

Namespace: Breeze.Sharp
Assembly: Breeze.Sharp (in Breeze.Sharp.dll) Version: 0.6.0.5 (0.6.0.5)
Syntax

public sealed class EntityType : StructuralType, 
	IJsonSerializable

The EntityType type exposes the following members.

Methods

  NameDescription
Public methodCreateEntity
Creates an entity with this EntityType.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetDataProperty (Inherited from StructuralType.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNavigationProperty
Returns the NavigationProperty with the specified name. Returns null if none is found.
Public methodGetProperty
Returns either the DataProperty or the NavigationProperty with the specified name. Returns null if none is found.
(Overrides StructuralTypeGetProperty(String).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the 'Name' of this EntityType.
(Overrides ObjectToString.)
Top
Properties

  NameDescription
Public propertyAutoGeneratedKeyType
The AutoGeneratedKeyType for this EntityType.
Public propertyBaseEntityType
The base EntityType (if any) for this EntityType.
Public propertyClrType (Inherited from StructuralType.)
Public propertyComplexProperties (Inherited from StructuralType.)
Public propertyConcurrencyProperties
The DataProperties associated with this EntityType that are concurrency properties.
Public propertyCustom (Inherited from StructuralType.)
Public propertyDataProperties (Inherited from StructuralType.)
Public propertyDefaultResourceName
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.
Public propertyForeignKeyProperties
The DataProperties associated with this EntityType that are foreign key properties.
Public propertyInverseForeignKeyProperties
The DataProperties on other EntityTypes that are foriegn key properties associated with this EntityType.
Public propertyIsAbstract (Inherited from StructuralType.)
Public propertyIsAnonymous (Inherited from StructuralType.)
Public propertyIsEntityType
Always true - property is defined at the StructuralType level.
(Overrides StructuralTypeIsEntityType.)
Public propertyKeyProperties
The DataProperties associated with this EntityType that make up it's EntityKey.
Public propertyMetadataStore (Inherited from StructuralType.)
Public propertyName (Inherited from StructuralType.)
Public propertyNameOnServer (Inherited from StructuralType.)
Public propertyNamespace (Inherited from StructuralType.)
Public propertyNavigationProperties
The NavigationProperty's associated with this EntityType.
Public propertyProperties
All of the data and navigation properties on this EntityType.
(Overrides StructuralTypeProperties.)
Public propertySelfAndSubEntityTypes
All EntityTypes that are subtypes of this EntityType.
Public propertyShortName (Inherited from StructuralType.)
Public propertyUnmappedProperties (Inherited from StructuralType.)
Public propertyValidators (Inherited from StructuralType.)
Public propertyWarnings (Inherited from StructuralType.)
Top
See Also

Reference