Пример #1
0
 public MySQLProvider(string connectionString, IRunOperationService runOperationService, IInteractiveQuestion question)
 {
     this.runOperationService = runOperationService;
     this.question            = question;
     DbConnection             = new MySqlConnection(connectionString);
     DbConnection.Open();
 }
Пример #2
0
 public MySQLProvider(IRunOperationService runOperationService, IInteractiveQuestion question)
 {
     this.runOperationService = runOperationService;
     this.question            = question;
     DbConnection             = (MySqlConnection)Connection.ConnectionDB;
 }
Пример #3
0
 public MySQLProvider(MySqlConnectionStringBuilder connectionStringBuilder, IRunOperationService runOperationService, IInteractiveQuestion question)
     : this(connectionStringBuilder.GetConnectionString(true), runOperationService, question)
 {
 }