Esempio n. 1
0
 ///<summary>
 ///Update object by primary key(with transation).
 ///</summary>
 public static bool UpdateObject(DO_BigDate.UO_BigDate obj, string BigDateCode, IDbConnection connection, IDbTransaction transaction)
 {
     return obj.Update(connection, transaction, GetConditionsByPrimaryKey(BigDateCode)) > 0;
 }
Esempio n. 2
0
 ///<summary>
 ///Update object by primary key.
 ///</summary>
 public static bool UpdateObject(DO_BigDate.UO_BigDate obj, string BigDateCode)
 {
     return obj.Update(GetConditionsByPrimaryKey(BigDateCode)) > 0;
 }