IRelatedEnd.CreateSourceQuery Method

Definition

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

public:
 System::Collections::IEnumerable ^ CreateSourceQuery();
public System.Collections.IEnumerable CreateSourceQuery ();
abstract member CreateSourceQuery : unit -> System.Collections.IEnumerable
Public Function CreateSourceQuery () As IEnumerable

Returns

An IEnumerable that represents the objects that belong to the related end.

Remarks

The CreateSourceQuery method is explicitly implemented by the RelatedEnd class. The EntityCollection<TEntity> and EntityReference<TEntity> classes both override the IRelatedEnd.CreateSourceQuery method to return an ObjectQuery<T> that, when it is executed, returns the same set of objects that belong to the related end.

Applies to