RelatedEnd.IRelatedEnd.CreateSourceQuery Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Restituisce un oggetto IEnumerable che rappresenta gli oggetti che appartengono alla fine correlata.
virtual System::Collections::IEnumerable ^ System.Data.Objects.DataClasses.IRelatedEnd.CreateSourceQuery() = System::Data::Objects::DataClasses::IRelatedEnd::CreateSourceQuery;
System.Collections.IEnumerable IRelatedEnd.CreateSourceQuery();
abstract member System.Data.Objects.DataClasses.IRelatedEnd.CreateSourceQuery : unit -> System.Collections.IEnumerable
override this.System.Data.Objects.DataClasses.IRelatedEnd.CreateSourceQuery : unit -> System.Collections.IEnumerable
Function CreateSourceQuery () As IEnumerable Implements IRelatedEnd.CreateSourceQuery
Valori restituiti
Oggetto IEnumerable che rappresenta gli oggetti che appartengono alla fine correlata.
Implementazioni
Commenti
Questo membro è un'implementazione esplicita del membro dell'interfaccia. Può essere usato solo quando viene eseguito il cast dell'istanza a un'interfaccia RelatedEndIRelatedEnd .
EntityCollection<TEntity> e EntityReference<TEntity> entrambe le sostituzioni IRelatedEnd.CreateSourceQuery per restituire un oggetto ObjectQuery<T>. Questa query, quando viene eseguita, restituisce lo stesso set di oggetti che appartengono alla fine correlata.