Метод | Описание | |
---|---|---|
BeginMigration ( |
Invoked when an individual migration is started
|
|
BeginSequence ( |
Invoked when a sequence of migrations is started
|
|
EndMigration ( |
Invoked when an individual migration is completed successfully
|
|
EndMigrationWithError ( |
Invoked when an individual migration fails with an error
|
|
EndSequence ( |
Invoked when a sequence of migrations is completed successfully
|
|
EndSequenceWithError ( |
Invoked when a sequence of migrations fails with an error
|
|
Info ( string message ) : void |
Invoked when another informative message should be logged
|
|
LogSql ( string message ) : void |
Invoked when SQL being executed should be logged
|
|
NUnitLogger ( string name ) : NUnit.Framework |
Метод | Описание | |
---|---|---|
WriteError ( string message ) : void | ||
WriteHeader ( string message ) : void | ||
WriteWarning ( string message ) : void |
public BeginMigration ( |
||
migration | Migration being started | |
direction | MigrationDirection | Direction of the migration |
Результат | void |
public BeginSequence ( |
||
from | Migration being migrated from | |
to | Migration being migrated to | |
Результат | void |
public EndMigration ( |
||
migration | Migration which completed | |
direction | MigrationDirection | Direction of the migration |
Результат | void |
public EndMigrationWithError ( |
||
exception | Exception which was encountered | |
migration | Migration which failed | |
direction | MigrationDirection | Direction of the migration |
Результат | void |
public EndSequence ( |
||
from | Migration which was migrated from | |
to | Migration which was migrated to | |
Результат | void |
public EndSequenceWithError ( |
||
exception | Exception which was encountered | |
from | Migration which was migrated from | |
currentVersion | Last successful migration which was applied | |
Результат | void |
public Info ( string message ) : void | ||
message | string | Message to be logged |
Результат | void |
public LogSql ( string message ) : void | ||
message | string | SQL to log |
Результат | void |
public NUnitLogger ( string name ) : NUnit.Framework | ||
name | string | |
Результат | NUnit.Framework |