예제 #1
0
 internal void Delete(IPersistence element)
 {
     GetDbSet(element).Remove(element);
     SaveChanges();
 }
예제 #2
0
 public void Delete(IPersistence element)
 {
     context.Delete(element);
 }
예제 #3
0
 internal void Insert(IPersistence element)
 {
     GetDbSet(element).Add(element);
     SaveChanges();
 }
예제 #4
0
 public void Insert(IPersistence element)
 {
     context.Insert(element);
 }