Прочетете на английски Редактиране

Споделяне чрез


RelatedEnd.IRelatedEnd.CreateSourceQuery Method

Definition

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

C#
System.Collections.IEnumerable IRelatedEnd.CreateSourceQuery();

Returns

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

Implements

Remarks

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.

Applies to

Продукт Версии
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1