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