示例#1
0
        public override bool Remove(Tb_fin_act t)
        {
            if (Repository.Remove <Model.Tb_fin_act>()
                .Where().And(Model.Tb_fin_act.Table.Pay_Id, t.Pay_Id)
                .EndWhere()
                .Save() < 1)
            {
                return(false);
            }

            return(true);
        }
示例#2
0
 public override bool Add(Tb_fin_act t)
 {
     t.Pay_Id = NewId();
     return(Repository.Add(t));
 }