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