Example #1
0
 public DbUpgradeEventArgs(DataSource dataSource, DataSourceEventType eventType, List <DbUpgradeScript> scripts,
                           DateTime startedOn, DateTime?completedOn,
                           Exception exception = null, DbUpgradeScript failedScript = null)
 {
     DataSource   = dataSource;
     Scripts      = scripts;
     StartedOn    = startedOn;
     CompletedOn  = completedOn;
     Exception    = exception;
     FailedScript = failedScript;
 }
Example #2
0
 public DataSourceEventArgs(DataSource dataSource, DataSourceEventType eventType)
 {
     DataSource = dataSource;
     EventType  = eventType;
 }
Example #3
0
 public DataSourceEventArgs(DataSource dataSource, DataSourceEventType eventType)
 {
     DataSource = dataSource;
       EventType = eventType;
 }
Example #4
0
 public DataSourceEventArgs(Database database, string dataSourceName, DataSourceEventType eventType)
 {
     Database       = database;
     DataSourceName = dataSourceName;
     EventType      = eventType;
 }
Example #5
0
 public DbUpgradeEventArgs(DataSource dataSource, DataSourceEventType eventType, List<DbUpgradeScript> scripts, 
     DateTime startedOn, DateTime? completedOn,
     Exception exception = null, DbUpgradeScript failedScript = null)
 {
     DataSource = dataSource;
       Scripts = scripts;
       StartedOn = startedOn;
       CompletedOn = completedOn;
       Exception = exception;
       FailedScript = failedScript;
 }