Share via


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
Public property ClassName Gets the class name.
Public property ExternalPropertyClasses Gets a list of ModelPropertyClass objects that represent properties that are not part of the current model.
Public property HierarchicalRelationshipClass Returns the hierarchical ModelRelationshipClass.
Public property IdentifierGroup Gets the identifier group to which this element belongs.
Public property ImplementedInterfaces Gets a list of interfaces that are implemented by this class.
Public property NameMandatory Gets a value that indicates whether this class must have a name.
Public property PropertyClasses Gets a list of metadata objects for the properties in this element. (Inherited from ModelPropertyContainerClass.)
Public property RelationshipClasses Gets a list of relationship classes for this element.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPropertyClass Returns the property metadata object that are identified by the provided name. (Inherited from ModelPropertyContainerClass.)
Public method GetRelationshipClass Returns the relationship that is defined by the provided name.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ImplementsInterface Returns a value that indicates whether this class implements the provided interface type.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnExternalPropertyClassAdded Called when an external property class is registered for this element. (Inherited from ModelPropertyContainerClass.)
Public method 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.

See Also

Reference

Microsoft.Data.Schema.SchemaModel Namespace

ModelPropertyContainerClass