Пример #1
0
 /// <summary>
 /// 更新
 /// </summary>
 /// <param name="log"></param>
 public void Edit(Entities.log log)
 {
     this.logService.Edit(log);
 }
Пример #2
0
 /// <summary>
 /// 更新
 /// </summary>
 /// <param name="log"></param>
 public void Edit(Entities.log log)
 {
     db.Entry(log).State = EntityState.Modified;
     db.SaveChanges();
 }
Пример #3
0
 /// <summary>
 /// インサート
 /// </summary>
 /// <param name="log"></param>
 public void Insert(Entities.log log)
 {
     this.logService.Insert(log);
 }
Пример #4
0
 /// <summary>
 /// インサート
 /// </summary>
 /// <param name="log"></param>
 public void Insert(Entities.log log)
 {
     db.logs.Add(log);
     db.SaveChanges();
 }