Exemplo n.º 1
0
 protected Connection(Vertica.Integration.Infrastructure.ConnectionString connectionString)
 {
     if (connectionString == null)
     {
         throw new ArgumentNullException("connectionString");
     }
     this.ConnectionString = connectionString;
 }
Exemplo n.º 2
0
 public MigrationDb(Vertica.Integration.Infrastructure.Database.Migrations.DatabaseServer databaseServer, Vertica.Integration.Infrastructure.ConnectionString connectionString, System.Reflection.Assembly assembly, string namespaceContainingMigrations, string identifyingName = null)
 {
     if (connectionString == null)
     {
         throw new ArgumentNullException("connectionString");
     }
     if (assembly == null)
     {
         throw new ArgumentNullException("assembly");
     }
     if (string.IsNullOrWhiteSpace(namespaceContainingMigrations))
     {
         throw new ArgumentException("Value cannot be null or empty.", "namespaceContainingMigrations");
     }
     this.DatabaseServer   = databaseServer;
     this.ConnectionString = connectionString;
     this.Assembly         = assembly;
     this.NamespaceContainingMigrations = namespaceContainingMigrations;
     this.IdentifyingName = identifyingName.NullIfEmpty() ?? namespaceContainingMigrations;
 }
 internal IntegrationMigrationDb(Vertica.Integration.Infrastructure.Database.Migrations.DatabaseServer databaseServer, Vertica.Integration.Infrastructure.ConnectionString connectionString, System.Reflection.Assembly assembly, string namespaceContainingMigrations) : base(databaseServer, connectionString, assembly, namespaceContainingMigrations, "IntegrationDb")
 {
 }
Exemplo n.º 4
0
 internal DefaultConnection(Vertica.Integration.Infrastructure.ConnectionString connectionString) : base(connectionString)
 {
 }