[]
Executes a query
in a scope
, so the loaded entities are pinned to the scope
(marked as needed)
by calling AddRef(object) for each of them.
public static IEnumerable<T> ExecuteIn<T>(this IEnumerable<T> query, ClientScope scope)
Type | Name | Description |
---|---|---|
IEnumerable<T> | query | The query to execute inside the client scope. |
ClientScope | scope | The client scope to execute the query in. |
Type | Description |
---|---|
IEnumerable<T> | The query that will be executed inside the given |
Name | Description |
---|---|
T | The type of items returned by the query. |