Example #1
0
 ///<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));
 }
Example #2
0
 ///<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));
 }