ModelElementClass Class
Represents the metadata for a model element. This class cannot be inherited.
Inheritance Hierarchy
System.Object
Microsoft.Data.Schema.SchemaModel.ModelPropertyContainerClass
Microsoft.Data.Schema.SchemaModel.ModelElementClass
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public NotInheritable Class ModelElementClass _
Inherits ModelPropertyContainerClass
public sealed class ModelElementClass : ModelPropertyContainerClass
public ref class ModelElementClass sealed : public ModelPropertyContainerClass
[<Sealed>]
type ModelElementClass =
class
inherit ModelPropertyContainerClass
end
public final class ModelElementClass extends ModelPropertyContainerClass
The ModelElementClass type exposes the following members.
Properties
Name | Description | |
---|---|---|
ClassName | Gets the class name. | |
ExternalPropertyClasses | Gets a list of ModelPropertyClass objects that represent properties that are not part of the current model. | |
HierarchicalRelationshipClass | Returns the hierarchical ModelRelationshipClass. | |
IdentifierGroup | Gets the identifier group to which this element belongs. | |
ImplementedInterfaces | Gets a list of interfaces that are implemented by this class. | |
NameMandatory | Gets a value that indicates whether this class must have a name. | |
PropertyClasses | Gets a list of metadata objects for the properties in this element. (Inherited from ModelPropertyContainerClass.) | |
RelationshipClasses | Gets a list of relationship classes for this element. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPropertyClass | Returns the property metadata object that are identified by the provided name. (Inherited from ModelPropertyContainerClass.) | |
GetRelationshipClass | Returns the relationship that is defined by the provided name. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ImplementsInterface | Returns a value that indicates whether this class implements the provided interface type. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnExternalPropertyClassAdded | Called when an external property class is registered for this element. (Inherited from ModelPropertyContainerClass.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.