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); }
public override bool Add(Tb_fin_act t) { t.Pay_Id = NewId(); return(Repository.Add(t)); }