Example #1
0
 public ConfigurationDatabase(int commandTimeout, string serverAddress, string databaseName)
 {
     CommandTimeout   = commandTimeout;
     ServerAddress    = serverAddress;
     DatabaseName     = databaseName;
     ConnectionString = EFConnectionString.GetConnectionString(DatabaseName, ServerAddress);
 }
Example #2
0
 public ConfigurationDatabase()
 {
     CommandTimeout   = 180;
     ServerAddress    = @"DESKTOP-9CDGA5B\SQLEXPRESS";
     DatabaseName     = "World yachts 2";
     ConnectionString = EFConnectionString.GetConnectionString(DatabaseName, ServerAddress);
 }