Exemplo n.º 1
0
 public SqlRunScriptWorker(SqlConnection connection, ISqlScriptParser parser, EventHandler<SqlWorkerProgressEventArgs> progressEvent = null)
     : base(connection, progressEvent)
 {
     this.parser = parser;
 }
Exemplo n.º 2
0
 public SqlWorkerBase CreateSqlRunScriptWorker(ISqlWorkerConnection connection, ISqlScriptParser parser, EventHandler<SqlWorkerProgressEventArgs> progressEvent = null)
 {
     return new SqlRunScriptWorker(connection.Connection, parser, progressEvent);
 }
Exemplo n.º 3
0
   public SqlRunScriptWorker(string server, string database, AuthenticationType authenticationType, string user, string password,
 ISqlScriptParser parser, EventHandler<SqlWorkerProgressEventArgs> progressEvent = null)
       : base(server, database, authenticationType, user, password, progressEvent)
   {
       this.parser = parser;
   }
Exemplo n.º 4
0
   public SqlWorkerBase CreateSqlRunScriptWorker(string server, string database, AuthenticationType authenticationType, string user, string password,
 ISqlScriptParser parser, EventHandler<SqlWorkerProgressEventArgs> progressEvent = null)
   {
       return new SqlRunScriptWorker(server, database, authenticationType, user, password, parser, progressEvent);
   }