RelatedEnd::IRelatedEnd::CreateSourceQuery Method ()
.NET Framework (current version)
Returns an IEnumerable that represents the objects that belong to the related end.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Return Value
Type: System.Collections::IEnumerable^An IEnumerable that represents the objects that belong to the related end.
Implements
IRelatedEnd::CreateSourceQuery()This member is an explicit interface member implementation. It can be used only when the RelatedEnd instance is cast to an IRelatedEnd interface.
EntityCollection<TEntity> and EntityReference<TEntity> both override IRelatedEnd::CreateSourceQuery to return an ObjectQuery<T>. This query, when it is executed, returns the same set of objects that belong to the related end.
.NET Framework
Available since 3.5
Available since 3.5
Show: