We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Simple.Data method FindAll is used to retrieve all data that satisfy search criteria.
Find all products with product category 1: Request URI: Products?$filter=CategoryID+eq+1
IEnumerable<dynamic> products = _db.Products.FindAll(_db.Products.ProductName.CategoryID == 1); Assert.NotEmpty(products);
Find all products with the length of name equal to 4: Request URI: Products?$filter=length(ProductName)+eq+4
IEnumerable<dynamic> products = _db.Products.FindAll(_db.Products.ProductName.Length() == 4); Assert.NotEmpty(products);
See also: Retrieving data Simple.Data documentation for FindAll