public static IBoundClient <T> Where <T>(this IBoundClient <T> client, ODataExpression expression) where T : class { if (client == null) { throw new ArgumentNullException(nameof(client)); } return(client.Filter(expression: expression)); }
public static IBoundClient <T> Where <T>(this IBoundClient <T> client, string where) where T : class { if (client == null) { throw new ArgumentNullException(nameof(client)); } return(client.Filter(filter: where)); }
public ODataSet <T> Where(Expression <Func <T, bool> > expression) { bounder = bounder.Filter(expression); return(this); }
public static IBoundClient <TOwner> WhereInFilter <TOwner, TProperty>( this IBoundClient <TOwner> client, Expression <Func <TOwner, TProperty> > getter, IEnumerable <TProperty> propertyValues) where TOwner : class => client.Filter(CreateWhereInFilter(getter, propertyValues));