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)); }
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)); }