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