public void Update(CompanyFund model) { var target = Find(model.ID); DB_Service.Attach<CompanyFund>(target); target.CateName = model.CateName; target.PID = model.PID; DB_Service.Commit(); }
public void Delete(CompanyFund model) { var target = Find(model.ID); DB_Service.Remove<CompanyFund>(target); DB_Service.Commit(); }
public void Create(CompanyFund model) { DB_Service.Add<CompanyFund>(model); DB_Service.Commit(); }