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