RelatedEnd.IRelatedEnd.CreateSourceQuery Method

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

Returns an IEnumerable that represents the objects that belong to the related end.

Namespace:  System.Data.Entity.Core.Objects.DataClasses
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
<SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")> _
Private Function CreateSourceQuery As IEnumerable 
    Implements IRelatedEnd.CreateSourceQuery
'Usage
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.

Return Value

Type: System.Collections.IEnumerable
An IEnumerable that represents the objects that belong to the related end.

Implements

IRelatedEnd.CreateSourceQuery()

See Also

Reference

RelatedEnd Class

System.Data.Entity.Core.Objects.DataClasses Namespace