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