예제 #1
0
 public void Delete(ProcessHistory item)
 {
     this.ThrowIfDisposed(_disposed);
     item.ThrowIfNull();
     Entities.Remove(item);
     SaveChanges();
 }
예제 #2
0
 public void Create(ProcessHistory item)
 {
     this.ThrowIfDisposed(_disposed);
     item.ThrowIfNull();
     Entities.Add(item);
     SaveChanges();
 }