The ModelEntityType type exposes the following members.

Methods

  NameDescription
Public methodAddMember(String)
Adds a scalar member to this entity type.
Public methodAddMember(String, Type, Boolean)
Adds a scalar member to this entity type.
Public methodAddMember(String, Type, Boolean, Int32)
Adds a scalar member to this entity type.
Public methodAddNavigationMember(String, ModelAssociationSet)
Adds a navigation property to the entity type.
Public methodAddNavigationMember(String, ModelAssociationSet, String, String)
Adds a navigation property to the entity type.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetOrCreateMember(String)
Retrieves a scalar member in this entity type, or creates it if not found
Public methodGetOrCreateMember(String, Type, Boolean)
Retrieves a scalar member in this entity type, or creates it if not found
Public methodGetOrCreateMember(String, Type, Boolean, Int32)
Retrieves a scalar member in this entity type, or creates it if not found
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInheritsFrom
True if the specified entity type inherits from this entity type.
Public methodIsSubtypeOf
True if the specified entity type is a parent somewhere in the inheritance chain for this entity type.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the object from the model.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyAliasName
Fully qualified alias name, including parent object aliases.
Public propertyAssociationsFrom
Enumeration of associations originating from this entity type.
Public propertyAssociationsTo
Enumeration if associations referencing this entity type.
Public propertyBaseType
Immediate base type for this type, if inheriting from other model entity type. Null if this type has no base type.
Public propertyBaseTypes
Enumeration returning all base types above this type, starting with the immediate base type.
Public propertyDiagramShape
EntityTypeShape representing this entity type in the designer diagram.
Public propertyEntitySet
Entity set that this entity type is a member of.
Public propertyFullName
Fully qualified name, including parent object names.
Public propertyHasBaseType
True if this entity type has a base type, false if not.
Public propertyHasSubTypes
True if this type has subtypes, false if not.
Public propertyLongDescription
Long description, part of the documentation attributes for model members
Public propertyMemberProperties
Enumeration of scalar members in this entity type.
Public propertyName
Name of the model object
Public propertyNavigationProperties
An enumeration of navigation properties on this entity type.
Public propertyShortDescription
Short description, part of the documentation attributes for model members
Public propertySubTypes
Enumeration returning all sub types inheriting directly or indirectly from this type.
Public propertyTopLevelBaseType
The top-level base type for this entity; the entity type highest up in the inheritance chain.

Events

  NameDescription
Public eventNameChanged
Event fired when the object changes name
Public eventRemoved
Event fired when the object has been removed from the model

See Also