Пример #1
0
 /// <summary>
 /// 普通删除 事务 自定义where
 /// </summary>
 /// <param name="tran"></param>
 /// <param name="keys"></param>
 public void Tran_IoRyDelete(IoRyTransaction tran, List <string> keys)
 {
     tran.Sql += this.IoRyDelete_Sql(keys) + " ;";
 }
Пример #2
0
        /// <summary>
        /// 普通删除 事务 以keys为where
        /// </summary>
        /// <param name="tran"></param>
        public void Tran_IoRyDelete(IoRyTransaction tran)
        {
            List <string> ls = LIC.Where(x => x.IsKey == true).Select(x => x.ioryName).ToList();

            tran.Sql += this.IoRyDelete_Sql(ls) + " ;";
        }
Пример #3
0
 /// <summary>
 /// 普通新增 事务
 /// </summary>
 /// <param name="tran"></param>
 public void Tran_IoRyAdd(IoRyTransaction tran)
 {
     tran.Sql += this.IoRyAdd_Sql() + " ;";
 }