Added migrations
This commit is contained in:
16
EventArguments/MigrationStartedEventArgs.cs
Normal file
16
EventArguments/MigrationStartedEventArgs.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user