Method WithAllTags
- Namespace
- Scaleout.Client.QuerySupport
- Assembly
- Scaleout.Client.dll
WithAllTags<T>(IQueryable<T>, params string[])
Adds a filter to the supplied source
to allow only values of
T
which have all of the specified tags
to be
returned from the server.
public static IQueryable<T> WithAllTags<T>(this IQueryable<T> source, params string[] tags)
Parameters
source
IQueryable<T>The input IQueryable<T>.
tags
string[]The tags used to filter
source
.
Returns
- IQueryable<T>
Type Parameters
T
Examples
from item in ProductsCache.QueryObjects().WithAllTags("seasonal", "green") where item.Weight < 5 select item;