There was an error while loading. Please reload this page.
Simple.Data method FindAll is used to retrieve all data that satisfy search criteria.
IEnumerable<dynamic> products = _db.Products.FindAll(_db.Products.CategoryID == 1); Assert.NotEmpty(products);
Request URI: GET Products?$filter=CategoryID+eq+1
IEnumerable<dynamic> products = _db.Products.FindAll(_db.Products.ProductName.Length() == 4); Assert.NotEmpty(products);
Request URI: GET Products?$filter=length(ProductName)+eq+4
See also: Retrieving data Simple.Data documentation for FindAll