///<summary> ///Delete object by primary key(with transation). ///</summary> public static int Delete(string BigDateCode, string CategoryCode, IDbConnection connection, IDbTransaction transaction) { DO_Category da = new DO_Category(); return da.Delete(connection, transaction, GetConditionsByPrimaryKey(BigDateCode, CategoryCode)); }
///<summary> ///Delete object by primary key. ///</summary> public static int Delete(string BigDateCode, string CategoryCode) { DO_Category da = new DO_Category(); return da.Delete(GetConditionsByPrimaryKey(BigDateCode, CategoryCode)); }