コード例 #1
0
 public void Update(Member_Money_Type model)
 {
     var target = Find(model.Key);
     DB_Service.Attach<Member_Money_Type>(target);
     target.Money = model.Money;
     target.DayLimit = model.DayLimit;
     target.MoneyLimit = model.MoneyLimit;
     target.TimeLimit = model.TimeLimit;
     target.Name = model.Name;
     DB_Service.Commit();
 }
コード例 #2
0
 public void Delete(Member_Money_Type model)
 {
     var target = Find(model.Key);
     DB_Service.Remove<Member_Money_Type>(target);
     DB_Service.Commit();
 }
コード例 #3
0
 public void Create(Member_Money_Type model)
 {
     DB_Service.Add<Member_Money_Type>(model);
     DB_Service.Commit();
 }