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> 型別會公開下列成員。
屬性
名稱 | 說明 | |
---|---|---|
![]() |
FromElement | 取得相關的項目。 (繼承自 IModelRelationship)。 |
![]() |
FromElement | 取得相關的項目。 |
![]() |
Model | 取得模型參考。 (繼承自 IModelEntity)。 |
![]() |
RelationshipClass | 取得中繼資料類別。 (繼承自 IModelRelationship)。 |
回頁首
方法
名稱 | 說明 | |
---|---|---|
![]() |
GetReferencedElements() | 傳回相關的項目。 (繼承自 IModelRelationship)。 |
![]() |
GetReferencedElements() | 取得相關項目的清單。 |
![]() |
GetReferencedRelationshipEntries | 傳回相關的關聯性項目。 (繼承自 IModelRelationship)。 |
回頁首