示例#1
0
 public int Complete()
 {
     try
     {
         var value = context.SaveChanges();
         return(value);
     }
     catch (Exception e) {
         Console.WriteLine(e.StackTrace);
         throw e;
     }
 }
示例#2
0
 public int Complete()
 {
     //The number of objects written to the underlying database.
     return(context.SaveChanges());
 }
示例#3
0
 public int Complete()
 {
     return(context.SaveChanges());
 }