///<summary> ///Get records count. ///</summary> public static int GetRecordsCount(DO_Main_AdvertisementsType.UO_Main_AdvertisementsType parameterObj, bool isAnd, TokenTypes tokenTypes, Dictionary <DO_Main_AdvertisementsType.Columns, TokenTypes> extTokens) { DO_Main_AdvertisementsType da = new DO_Main_AdvertisementsType(); return(da.GetRecordsCount(GetConditionsByObject(parameterObj, isAnd, tokenTypes, extTokens))); }
///<summary> ///Get all records count. ///</summary> public static int GetAllRecordsCount() { DO_Main_AdvertisementsType da = new DO_Main_AdvertisementsType(); return(da.GetRecordsCount()); }