IModelRelationshipEntry 接口

表示一个元素对另一个元素的引用,该引用可能无法解析。

命名空间:  Microsoft.Data.Schema.SchemaModel
程序集:  Microsoft.Data.Schema(在 Microsoft.Data.Schema.dll 中)

语法

声明
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>

IModelRelationshipEntry 类型公开以下成员。

属性

  名称 说明
公共属性 Element 获取或设置所引用的元素。
公共属性 FromElement
公共属性 Ordinal 获取此项在关系中的位置。
公共属性 RelationshipClass 获取关系类。
公共属性 SourceCodePositions

页首

方法

  名称 说明
公共方法 AddAnnotation 将给定批注添加到此元素。 (继承自 IModelAnnotationHolder。)
公共方法 CompareTo 比较当前对象和同一类型的另一对象。 (继承自 IComparable<IModelRelationshipEntry>。)
公共方法 Equals 指示当前对象是否等于同一类型的另一个对象。 (继承自 IEquatable<IModelRelationshipEntry>。)
公共方法 GetAnnotations() 返回附加到此元素的批注的列表。 (继承自 IModelAnnotationHolder。)
公共方法 GetAnnotations(Type) 返回给定类型的附加批注的列表。 (继承自 IModelAnnotationHolder。)
公共方法 GetAnnotations(ModelIdentifier) 返回具有给定标识符的附加批注的列表。 (继承自 IModelAnnotationHolder。)
公共方法 GetAnnotations(ModelIdentifier, Type) (继承自 IModelAnnotationHolder。)
公共方法 GetAnnotations<TType>() 返回实现给定批注类型且具有指定模型标识符的所有附加模型批注。 (继承自 IModelAnnotationHolder。)
公共方法 GetAnnotations<TType>(ModelIdentifier) (继承自 IModelAnnotationHolder。)
公共方法 RemoveAnnotation 从此模型元素中移除指定的批注。 (继承自 IModelAnnotationHolder。)

页首

请参见

参考

Microsoft.Data.Schema.SchemaModel 命名空间