Example #1
0
 private void Save()    //Create by me
 {
     _ctx.SaveChanges();
 }
Example #2
0
 public bool Save()
 {
     //True for success , False should throw exception
     return(_ctx.SaveChanges() >= 0);
 }