/// <summary> /// 带事务更新 /// </summary> /// <param name="delta"></param> /// <param name="db"></param> /// <param name="transaction"></param> public void PersistChangeWithTransaction(QH_CapitalAccountTable_DeltaInfo delta, Database db, DbTransaction transaction) { QH_CapitalAccountTable_DeltaDal deltaInfoDal = new QH_CapitalAccountTable_DeltaDal(); deltaInfoDal.Add(delta, db, transaction);; }
/// <summary> /// 持久化变化量 /// </summary> /// <param name="delta"></param> public void PersistChange(QH_CapitalAccountTable_DeltaInfo delta) { QH_CapitalAccountTable_DeltaDal deltaInfoDal = new QH_CapitalAccountTable_DeltaDal(); deltaInfoDal.Add(delta); }