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