public ReplaceOneResult ReplaceOne <T>(T @object, Expression <Func <T, bool> > expression, UpdateOptions options, IMongoDBStateContext stateContext = null) where T : class { return(context.ReplaceOne <T>(@object, expression, options, stateContext)); }