Exemplo n.º 1
0
 private void AssertNullOrEmptyTransactionConfig(TransactionConfig txConfig)
 {
     if (txConfig != null && !txConfig.IsEmpty())
     {
         throw new ArgumentException(
                   "Driver is connected to the database that does not support transaction configuration. " +
                   "Please upgrade to neo4j 3.5.0 or later in order to use this functionality");
     }
 }
Exemplo n.º 2
0
            public void DefaultValueShouldBeEmpty()
            {
                var config = new TransactionConfig();

                config.IsEmpty().Should().BeTrue();
            }