///<summary> ///Update object by primary key(with transation). ///</summary> public static bool UpdateObject(DO_Guest.UO_Guest obj, string BigDateCode, string GuestCode, IDbConnection connection, IDbTransaction transaction) { return obj.Update(connection, transaction, GetConditionsByPrimaryKey(BigDateCode, GuestCode)) > 0; }
///<summary> ///Update object by primary key. ///</summary> public static bool UpdateObject(DO_Guest.UO_Guest obj, string BigDateCode, string GuestCode) { return obj.Update(GetConditionsByPrimaryKey(BigDateCode, GuestCode)) > 0; }