Esempio n. 1
0
 public int[] Search(string model, object[] filter, int offset = 0, int?limit = null)
 {
     if (limit == null)
     {
         return(_objectRpc.search(_rpcConnectionSchema.DbName, _rpcConnectionSchema.UserId, _rpcConnectionSchema.DbPassword, model, "search", filter));
     }
     return(_objectRpc.search(_rpcConnectionSchema.DbName, _rpcConnectionSchema.UserId, _rpcConnectionSchema.DbPassword, model, "search", filter, offset, (int)limit));
 }
Esempio n. 2
0
 public int[] Search(string model, object[] filter, int offset = 0, int limit = 0, string order = "")
 {
     return(_objectRpc.search(_rpcConnectionSchema.DbName, _rpcConnectionSchema.UserId, _rpcConnectionSchema.DbPassword, model, "search", filter, offset, limit, order));
 }