public UpdateResult UpdateMany <T>(Expression <Func <T, bool> > expression, UpdateDefinition <T> updateDef, IMongoDBStateContext stateContext = null) where T : class { return(context.UpdateMany <T>(expression, updateDef, stateContext)); }