///<summary> ///Update object by primary key string(with transation). ///</summary> public static bool UpdateObjectByPrimaryKeyString(DO_SaleShop_profits_qyjl_log.UO_SaleShop_profits_qyjl_log obj, string primaryKeyString, IDbConnection connection, IDbTransaction transaction) { return(obj.Update(connection, transaction, GetConditionsByPrimaryKeyString(primaryKeyString)) > 0); }
///<summary> ///Update object by primary key(with transation). ///</summary> public static bool UpdateObject(DO_SaleShop_profits_qyjl_log.UO_SaleShop_profits_qyjl_log obj, System.Int32 id, IDbConnection connection, IDbTransaction transaction) { return(obj.Update(connection, transaction, GetConditionsByPrimaryKey(id)) > 0); }
///<summary> ///Update object by primary key string. ///</summary> public static bool UpdateObjectByPrimaryKeyString(DO_SaleShop_profits_qyjl_log.UO_SaleShop_profits_qyjl_log obj, string primaryKeyString) { return(obj.Update(GetConditionsByPrimaryKeyString(primaryKeyString)) > 0); }
///<summary> ///Update object by primary key. ///</summary> public static bool UpdateObject(DO_SaleShop_profits_qyjl_log.UO_SaleShop_profits_qyjl_log obj, System.Int32 id) { return(obj.Update(GetConditionsByPrimaryKey(id)) > 0); }