ITable
|
Object[] SearchRecords( string sortField, bool ascending, string searchText, StringComparison comparison = StringComparison.OrdinalIgnoreCase )
This function searches records locally after query from database, this way SearchableAttribute functionality will work even with fields that are modeled with the EncryptDataAttribute and use the LikeExpression. Primary keys for this function will not be cached server-side and this function will be slower and more expensive than similar calls to QueryRecords(String, Boolean, Int32, Int32, String). Usage should be restricted to cases searching for field data that has been modeled with the EncryptDataAttribute.
This function does not paginate records, instead a full list of search records is returned. User can cache returned records and page through them using the GetPageOfRecords(Object, Int32, Int32) function. As a result, usage should be restricted to smaller data sets.