RelatedEnd.IRelatedEnd.CreateSourceQuery 方法
[此頁面專屬於 Entity Framework 第 6 版。最新版本可從 'Entity Framework' NuGet 套件取得。如需 Entity Framework 的詳細資訊,請參閱 msdn.com/data/ef。]
傳回 IEnumerable,它代表屬於相關端的物件。
命名空間: System.Data.Entity.Core.Objects.DataClasses
組件: EntityFramework (在 EntityFramework.dll 中)
語法
'宣告
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Function CreateSourceQuery As IEnumerable
Implements IRelatedEnd.CreateSourceQuery
'用途
Dim instance As RelatedEnd
Dim returnValue As IEnumerable
returnValue = CType(instance, IRelatedEnd).CreateSourceQuery()
[SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
IEnumerable IRelatedEnd.CreateSourceQuery()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
private:
virtual IEnumerable^ CreateSourceQuery() sealed = IRelatedEnd::CreateSourceQuery
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private abstract CreateSourceQuery : unit -> IEnumerable
[<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")>]
private override CreateSourceQuery : unit -> IEnumerable
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
傳回值
類型:System.Collections.IEnumerable
IEnumerable ,它代表屬於相關端的物件。
Implements
IRelatedEnd.CreateSourceQuery()