IRelatedEnd.CreateSourceQuery Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.