Поделиться через


IModelRelationshipEntry Interface

Represents a reference from one element to another, which might be unresolved.

Namespace:  Microsoft.Data.Schema.SchemaModel
Assembly:  Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)

Syntax

'Declaration
Public Interface IModelRelationshipEntry _
    Inherits IModelAnnotationHolder, IEquatable(Of IModelRelationshipEntry), IComparable(Of IModelRelationshipEntry)
public interface IModelRelationshipEntry : IModelAnnotationHolder, 
    IEquatable<IModelRelationshipEntry>, IComparable<IModelRelationshipEntry>
public interface class IModelRelationshipEntry : IModelAnnotationHolder, 
    IEquatable<IModelRelationshipEntry^>, IComparable<IModelRelationshipEntry^>
type IModelRelationshipEntry =  
    interface
        interface IModelAnnotationHolder
        interface IEquatable<IModelRelationshipEntry>
        interface IComparable<IModelRelationshipEntry>
    end
public interface IModelRelationshipEntry extends IModelAnnotationHolder, IEquatable<IModelRelationshipEntry>, IComparable<IModelRelationshipEntry>

The IModelRelationshipEntry type exposes the following members.

Properties

  Name Description
Public property Element Gets or sets the referenced element.
Public property FromElement
Public property Ordinal Gets the location of this entry in the relationship.
Public property RelationshipClass Gets the relationship class.
Public property SourceCodePositions

Top

Methods

  Name Description
Public method AddAnnotation Adds the given annotation to this element. (Inherited from IModelAnnotationHolder.)
Public method CompareTo Compares the current object with another object of the same type. (Inherited from IComparable<IModelRelationshipEntry>.)
Public method Equals Indicates whether the current object is equal to another object of the same type. (Inherited from IEquatable<IModelRelationshipEntry>.)
Public method GetAnnotations() Returns a list of annotations attached to this element. (Inherited from IModelAnnotationHolder.)
Public method GetAnnotations(Type) Returns a list of attached annotations of the given type. (Inherited from IModelAnnotationHolder.)
Public method GetAnnotations(ModelIdentifier) Returns a list of attached annotations that have the given identifier. (Inherited from IModelAnnotationHolder.)
Public method GetAnnotations(ModelIdentifier, Type) (Inherited from IModelAnnotationHolder.)
Public method GetAnnotations<TType>() Returns all attached model annotations that implement the given annotation type and have the specified model identifier. (Inherited from IModelAnnotationHolder.)
Public method GetAnnotations<TType>(ModelIdentifier) (Inherited from IModelAnnotationHolder.)
Public method RemoveAnnotation Removes the specified annotation from this model element. (Inherited from IModelAnnotationHolder.)

Top

See Also

Reference

Microsoft.Data.Schema.SchemaModel Namespace