public virtual SearchCriteria AndByClassName(string className) { conditions.Insert(0, SearchConditionFactory.CreateForClassName(className)); return(this); }
public static SearchCriteria ByClassName(string className) { return(new SearchCriteria(SearchConditionFactory.CreateForClassName(className))); }