مشاركة عبر


IModelRelationship<TFrom, TTo> الواجهة

يستخدم إلى الحصول على كلا جانبي العلاقة.

مساحة الاسم:  Microsoft.Data.Schema.SchemaModel
التجميع:  Microsoft.Data.Schema (في Microsoft.Data.Schema.dll)

بناء الجملة

'إقرار
Public Interface IModelRelationship(Of TFrom As {Class, IModelElement}, TTo As {Class, IModelElement}) _
    Inherits IModelRelationship, IModelEntity
public interface IModelRelationship<TFrom, TTo> : IModelRelationship, 
    IModelEntity
where TFrom : class, IModelElement
where TTo : class, IModelElement
generic<typename TFrom, typename TTo>
where TFrom : ref class, IModelElement
where TTo : ref class, IModelElement
public interface class IModelRelationship : IModelRelationship, 
    IModelEntity
type IModelRelationship<'TFrom, 'TTo when 'TFrom : not struct and IModelElement when 'TTo : not struct and IModelElement> =  
    interface
        interface IModelRelationship
        interface IModelEntity
    end
لا تدعم JScript الأنواع أو الأساليب العامة.

معلمات النوع

  • TFrom
  • TTo

راجع أيضًَا

المرجع

IModelRelationship<TFrom, TTo> الأعضاء

Microsoft.Data.Schema.SchemaModel مساحة الاسم