17 lines
527 B
C#
17 lines
527 B
C#
using System;
|
|
|
|
namespace DbTools.EventArguments {
|
|
public delegate void MigrationStartedEventHandler(object sender, MigrationStartedEventArgs e);
|
|
|
|
public class MigrationStartedEventArgs : EventArgs {
|
|
public string MigrationName { get; set; }
|
|
public int Remaining { get; set; }
|
|
|
|
public MigrationStartedEventArgs() { }
|
|
public MigrationStartedEventArgs(string migrationName, int remaining) {
|
|
MigrationName = migrationName;
|
|
Remaining = remaining;
|
|
}
|
|
}
|
|
}
|