示例#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);
 }