The ModelEntityType type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddMember(String) |
Adds a scalar member to this entity type.
| |
| AddMember(String, Type, Boolean) |
Adds a scalar member to this entity type.
| |
| AddMember(String, Type, Boolean, Int32) |
Adds a scalar member to this entity type.
| |
| AddNavigationMember(String, ModelAssociationSet) |
Adds a navigation property to the entity type.
| |
| AddNavigationMember(String, ModelAssociationSet, String, String) |
Adds a navigation property to the entity type.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetOrCreateMember(String) |
Retrieves a scalar member in this entity type, or creates it if not found
| |
| GetOrCreateMember(String, Type, Boolean) |
Retrieves a scalar member in this entity type, or creates it if not found
| |
| GetOrCreateMember(String, Type, Boolean, Int32) |
Retrieves a scalar member in this entity type, or creates it if not found
| |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InheritsFrom |
True if the specified entity type inherits from this entity type.
| |
| IsSubtypeOf |
True if the specified entity type is a parent somewhere in the inheritance chain for this entity type.
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Remove |
Removes the object from the model.
| |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| AliasName |
Fully qualified alias name, including parent object aliases.
| |
| AssociationsFrom |
Enumeration of associations originating from this entity type.
| |
| AssociationsTo |
Enumeration if associations referencing this entity type.
| |
| BaseType |
Immediate base type for this type, if inheriting from other model entity type. Null if this type has no base type.
| |
| BaseTypes |
Enumeration returning all base types above this type, starting with the immediate base type.
| |
| DiagramShape |
EntityTypeShape representing this entity type in the designer diagram.
| |
| EntitySet |
Entity set that this entity type is a member of.
| |
| FullName |
Fully qualified name, including parent object names.
| |
| HasBaseType |
True if this entity type has a base type, false if not.
| |
| HasSubTypes |
True if this type has subtypes, false if not.
| |
| LongDescription |
Long description, part of the documentation attributes for model members
| |
| MemberProperties |
Enumeration of scalar members in this entity type.
| |
| Name |
Name of the model object
| |
| NavigationProperties |
An enumeration of navigation properties on this entity type.
| |
| ShortDescription |
Short description, part of the documentation attributes for model members
| |
| SubTypes |
Enumeration returning all sub types inheriting directly or indirectly from this type.
| |
| TopLevelBaseType |
The top-level base type for this entity; the entity type highest up in the inheritance chain.
|
Events
| Name | Description | |
|---|---|---|
| NameChanged |
Event fired when the object changes name
| |
| Removed |
Event fired when the object has been removed from the model
|