Пример #1
0
 public void AddConnectionParameterAndCredential(DataBaseParameter parameter, DataBaseCredential credential)
 {
     Parameters = parameter;
     Credential = credential;
     GenerateConnectionString();
     connection = new SqlConnection(ConnectionString);
 }
Пример #2
0
 public DataBaseConnector(DataBaseParameter parameters, DataBaseCredential credential)
 {
     errorLog   = new ErrorLog();
     Parameters = parameters;
     Credential = credential;
     GenerateConnectionString();
     connection = new SqlConnection(ConnectionString);
 }