Ejemplo n.º 1
0
        /// <summary>
        /// 带事务持久化资金变化
        /// </summary>
        /// <param name="delta">资金变化实体</param>
        /// <param name="db">数据库对象</param>
        /// <param name="transaction">事务对象</param>
        public void PersistChangeWithTransaction(HK_CapitalAccount_DeltaInfo delta, Database db,
                                                 DbTransaction transaction)
        {
            HK_CapitalAccount_DeltaDal deltaInfoDal = new HK_CapitalAccount_DeltaDal();

            deltaInfoDal.Add(delta, db, transaction);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 持久化资金变化
        /// </summary>
        /// <param name="delta">资金变化实体</param>
        public void PersistChange(HK_CapitalAccount_DeltaInfo delta)
        {
            HK_CapitalAccount_DeltaDal deltaInfoDal = new HK_CapitalAccount_DeltaDal();

            deltaInfoDal.Add(delta);
        }