public ScriptExecutionArgs(DeltaFile delta)
 {
     Duration = TimeSpan.MinValue;
     Delta = delta;
 }
 public ScriptExecutionArgs(DeltaFile delta, TimeSpan duration)
 {
     Duration = duration;
     Delta = delta;
 }
        protected override void AddDeltaToTrackingTable(IDbConnection conn, DeltaFile deltaFile, IDbTransaction tran)
        {
            string insertSQL = string.Format("INSERT INTO [{0}] ([{1}], [Hash], [Filename]) VALUES('{2}','{3}','{4}')",
                                             DeltaVersionTableName,
                                             DeltaVersionColumnName,
                                             deltaFile.Version,
                                             deltaFile.Hash,
                                             deltaFile.Filename);

            ExecuteNonQueryWithDBReset(insertSQL, conn, tran);
        }