protected void ChangeSagaVersionManually <T>(Guid sagaId, int version) where T : IContainSagaData { var versionName = camelCaseConventionSet ? "version" : "Version"; var collection = _database.GetCollection(_repo.GetCollectionName(typeof(T))); collection.Update(Query.EQ("_id", sagaId), new UpdateBuilder().Set(versionName, version)); }