public virtual void SetSearches(string[] propertyNames, SingleSearchModeEnum searchMode) { foreach (string str in propertyNames) { this.SetSearch(str, searchMode); } }
public virtual void SetSearch(string propertyName, SingleSearchModeEnum searchMode) { CommonSearchCriterionItem firstSearch = this.GetFirstSearch(propertyName); if (firstSearch != null) { firstSearch.SingleSearchMode = searchMode; } else { this.AddSearch(propertyName, searchMode); } }
public CommonSearchCriterionItem(string propertyName, SingleSearchModeEnum searchMode) { this.Init(); this.PropertyName = propertyName; this.SingleSearchMode = searchMode; }
public virtual void AddSearch(string propertyName, SingleSearchModeEnum searchMode) { this.Searches.Add(new CommonSearchCriterionItem(propertyName, searchMode)); }
public virtual void AddSearch(string propertyName, SingleSearchModeEnum searchMode) { this.Searches.AddSearch(propertyName, searchMode); }
public virtual void SetSearches(string[] propertyNames, SingleSearchModeEnum searchMode) { this.Searches.SetSearches(propertyNames, searchMode); }
public HqlCommonSearchCriterionItem(string propertyName, SingleSearchModeEnum searchMode) : base(propertyName, searchMode) { }