IModelElement Interface
Provides a basis for each element in a schema model.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Interface IModelElement _
Inherits IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
public interface IModelElement : IModelPropertyContainer,
IModelEntity, IModelAnnotationHolder
public interface class IModelElement : IModelPropertyContainer,
IModelEntity, IModelAnnotationHolder
type IModelElement =
interface
interface IModelPropertyContainer
interface IModelEntity
interface IModelAnnotationHolder
end
public interface IModelElement extends IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
The IModelElement type exposes the following members.
Properties
Name | Description | |
---|---|---|
ElementClass | Gets the metadata class for an element. | |
Model | Gets the model reference. (Inherited from IModelEntity.) | |
Name | Gets or sets the name of the element. | |
ResolutionStatus | Gets or sets the value of the model element resolution status. | |
SourceCodePositions | Gets the list of sources that define this element. | |
ValidationStatus | Gets or sets the value of the model element validation status. |
Top
Methods
Name | Description | |
---|---|---|
AddAnnotation | Adds the given annotation to this element. (Inherited from IModelAnnotationHolder.) | |
Delete | Deletes this instance from the model. | |
GetAnnotations() | Returns a list of annotations attached to this element. (Inherited from IModelAnnotationHolder.) | |
GetAnnotations(Type) | Returns a list of attached annotations of the given type. (Inherited from IModelAnnotationHolder.) | |
GetAnnotations(ModelIdentifier) | Returns a list of attached annotations that have the given identifier. (Inherited from IModelAnnotationHolder.) | |
GetAnnotations(ModelIdentifier, Type) | (Inherited from IModelAnnotationHolder.) | |
GetAnnotations<TType>() | Returns all attached model annotations that implement the given annotation type and have the specified model identifier. (Inherited from IModelAnnotationHolder.) | |
GetAnnotations<TType>(ModelIdentifier) | (Inherited from IModelAnnotationHolder.) | |
GetComposingChildren | Returns a list of composing children for this element. | |
GetHierarchicalChildren | Returns a list of hierarchical children for this element. | |
GetOwnerInfo | Returns information about the element owner. | |
GetProperty<TProperty> | Gets the specified property. (Inherited from IModelPropertyContainer.) | |
GetReferencedDanglingRelationshipEntries | Returns a list of the relationship entries, where this element is on the left side and there is either no element on the right side of the relationship, or the element on the right does not exist in the model. | |
GetReferencedElements | Returns a list of the elements that are in a relationship with this element, where this element is on the left side of the relationship. | |
GetReferencedRelationshipEntries | Returns a list of the relationship entries, where this element is on the left side. | |
GetReferencingElements | Returns a list of the elements that are in a relationship with this element, where this element is on the right side. | |
GetReferencingRelationshipEntries | Returns a list of the relationship entries, where this element is on the right side. | |
GetRelationship(ModelRelationshipClass) | Returns the requested relationship by using the provided metadata. | |
GetRelationship<TFrom, TTo>(ModelRelationshipClass) | Returns a relationship where the two related elements are of the specified types. | |
GetRelationships | Returns a list of the relationships in this element. | |
IsDeleted | Specifies whether the object is deleted. | |
IsExternal | Returns a value that indicates whether the object was loaded from an external source and is not a part of the schema model. | |
RemoveAnnotation | Removes the specified annotation from this model element. (Inherited from IModelAnnotationHolder.) | |
SetProperty<TProperty> | Sets the specified property. (Inherited from IModelPropertyContainer.) |
Top
See Also
Reference
Microsoft.Data.Schema.SchemaModel Namespace