public MsSqlConnectionStringResolver(string serverName, string databaseName, MsSqlCredentials credentials = null) { this.ServerName = serverName; this.DatabaseName = databaseName; this.Credentials = credentials; this.TrustedConnection = credentials == null; }
public MsSqlDatabase(string serverName, string databaseName, string connectionName, MsSqlCredentials credentials = null) : base() { ConnectionStringResolver = new MsSqlConnectionStringResolver(serverName, databaseName, credentials); ConnectionName = connectionName; Register(); }
public MsSqlDatabase(string serverName, string databaseName, MsSqlCredentials credentials = null) : this(serverName, databaseName, databaseName, credentials) { }