Пример #1
0
 ///<summary>
 ///Update object by primary key(with transation).
 ///</summary>
 public static bool UpdateObject(DO_Decoration.UO_Decoration obj, string DecorationCode, IDbConnection connection, IDbTransaction transaction)
 {
     return obj.Update(connection, transaction, GetConditionsByPrimaryKey(DecorationCode)) > 0;
 }
Пример #2
0
 ///<summary>
 ///Update object by primary key.
 ///</summary>
 public static bool UpdateObject(DO_Decoration.UO_Decoration obj, string DecorationCode)
 {
     return obj.Update(GetConditionsByPrimaryKey(DecorationCode)) > 0;
 }