Example #1
0
 public ZohoEntityCollection <T> Search <T>(ZohoSearchCondition searchCondition, IEnumerable <string> selectColumns) where T : ZohoEntity
 {
     return(Search <T>(ModuleName(typeof(T)), selectColumns, searchCondition));
 }
Example #2
0
 public ZohoEntityCollection <T> Search <T>(ZohoSearchCondition searchCondition) where T : ZohoEntity
 {
     return(Search <T>(searchCondition, null));
 }
Example #3
0
 public ZohoEntityCollection <T> Search(ZohoSearchCondition condition)
 {
     return(Search(condition, null));
 }
Example #4
0
        private ZohoEntityCollection <T> Search <T>(string module, IEnumerable <string> selectColumns, ZohoSearchCondition searchCondition) where T : ZohoEntity
        {
            var parameters = GetListOptionsParameters(module, new ListOptions {
                SelectColumns = selectColumns
            }, true);

            parameters.Add("searchCondition", searchCondition.ToString());
            return(GetEntities <T>(module, "getSearchRecords", parameters));
        }
Example #5
0
 public ZohoEntityCollection <T> Search(ZohoSearchCondition condition, IEnumerable <string> columns)
 {
     return(Client.Search <T>(condition, columns));
 }