///<summary> ///Get object by primary key. ///</summary> public static DO_Category.UO_Category GetObject(string BigDateCode, string CategoryCode) { DO_Category da = new DO_Category(); DO_Category.UOList_Category l = da.GetList(GetConditionsByPrimaryKey(BigDateCode, CategoryCode)); return l.Count > 0 ? l[0] : null; }
///<summary> ///Get list by object. ///</summary> public static DO_Category.UOList_Category GetList(DO_Category.UO_Category parameterObj, bool isAnd, TokenTypes tokenTypes, Dictionary<DO_Category.Columns, TokenTypes> extTokens) { return parameterObj.GetList(GetConditionsByObject(parameterObj, isAnd, tokenTypes, extTokens)); }