RelationshipManager.GetAllRelatedEnds 方法
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
傳回關聯性管理員所管理之所有相關端的列舉類型 (Enumeration)。
命名空間: System.Data.Entity.Core.Objects.DataClasses
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")> _
Public Function GetAllRelatedEnds As IEnumerable(Of IRelatedEnd)
'用途
Dim instance As RelationshipManager
Dim returnValue As IEnumerable(Of IRelatedEnd)
returnValue = instance.GetAllRelatedEnds()
[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public IEnumerable<IRelatedEnd> GetAllRelatedEnds()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1024:UsePropertiesWhereAppropriate")]
public:
IEnumerable<IRelatedEnd^>^ GetAllRelatedEnds()
[<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")>]
member GetAllRelatedEnds : unit -> IEnumerable<IRelatedEnd>
public function GetAllRelatedEnds() : IEnumerable<IRelatedEnd>
傳回值
類型:System.Collections.Generic.IEnumerable<IRelatedEnd>
實作 IRelatedEnd 之物件的 IEnumerable<T>。當這些關聯性尚未填入 (Populate) 時,就會傳回空的列舉類型。