Example #1
0
 public static int InsertOrUpdate <T>(this IUpdatable <T> collection, T instance, Expression <Func <T, bool> > updateCheck)
 {
     return(collection.InsertOrUpdate <T, int>(instance, updateCheck, null));
 }
Example #2
0
 public static int InsertOrUpdate <T>(this IUpdatable <T> collection, T instance)
 {
     return(collection.InsertOrUpdate <T, int>(instance, null, null));
 }