Added migrations

This commit is contained in:
2025-08-31 12:03:10 -05:00
parent 67e2959f3c
commit 547c26af32
5 changed files with 170 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
using System;
namespace DbTools.EventArguments {
public delegate void MigrationProgressEventHandler(object sender, MigrationProgressEventArgs e);
public class MigrationProgressEventArgs : EventArgs {
public string StatusText { get; set; }
public int Total { get; set; }
public int Pending { get; set; }
public int Successful { get; set; }
public int Failed { get; set; }
public MigrationProgressEventArgs() { }
public MigrationProgressEventArgs(int total, int pending, int successful, int failed, string statusText = "") {
Total = total;
Pending = pending;
Successful = successful;
Failed = failed;
StatusText = statusText;
}
}
}