private Node GetRandomBandNode(DatabaseRule embeddedDatabase, Label bandLabel) { return(embeddedDatabase.FindNode(bandLabel, _nameProperty, "band" + (ThreadLocalRandom.current().Next(1, NUMBER_OF_BANDS + 1)))); }
private Node GetRandomCityNode(DatabaseRule embeddedDatabase, Label cityLabel) { return(embeddedDatabase.FindNode(cityLabel, _nameProperty, "city" + (ThreadLocalRandom.current().Next(1, NUMBER_OF_CITIES + 1)))); }