public async Task TestDriverIntroductionExample() { // Given using (var example = new DriverIntroductionExample(Uri, User, Password)) { // When & Then await example.CreateFriendship("Alice", "David"); await example.FindPerson("Alice"); } }
public static async Task Main(string[] args) { // Aura queries use an encrypted connection using the "neo4j+s" protocol var boltUrl = "%%BOLT_URL_PLACEHOLDER%%"; var user = "******"; var password = "******"; using (var example = new DriverIntroductionExample(boltUrl, user, password)) { await example.CreateFriendship("Alice", "David"); await example.FindPerson("Alice"); } }