Создание документации
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#### [Pf2eModel](index.md 'index')
|
||||
### [Pf2eModel\.Migrations](Pf2eModel.Migrations.md 'Pf2eModel\.Migrations').[Function](Function.md 'Pf2eModel\.Migrations\.Function')
|
||||
|
||||
## Function\.Down\(MigrationBuilder\) Method
|
||||
|
||||
Builds the operations that will migrate the database 'down'\.
|
||||
|
||||
```csharp
|
||||
protected override void Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder migrationBuilder);
|
||||
```
|
||||
#### Parameters
|
||||
|
||||
<a name='Pf2eModel.Migrations.Function.Down(Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder).migrationBuilder'></a>
|
||||
|
||||
`migrationBuilder` [Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder 'Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder')
|
||||
|
||||
The [Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder 'Microsoft\.EntityFrameworkCore\.Migrations\.MigrationBuilder') that will build the operations\.
|
||||
|
||||
### Remarks
|
||||
|
||||
That is, builds the operations that will take the database from the state left in by
|
||||
this migration so that it returns to the state that it was in before this migration was applied.
|
||||
|
||||
This method must be overridden in each class that inherits from [Microsoft\.EntityFrameworkCore\.Migrations\.Migration](https://docs.microsoft.com/en-us/dotnet/api/Microsoft.EntityFrameworkCore.Migrations.Migration 'Microsoft\.EntityFrameworkCore\.Migrations\.Migration') if
|
||||
both 'up' and 'down' migrations are to be supported. If it is not overridden, then calling it
|
||||
will throw and it will not be possible to migrate in the 'down' direction.
|
||||
|
||||
See [Database migrations](https://aka.ms/efcore-docs-migrations 'https://aka\.ms/efcore\-docs\-migrations') for more information and examples.
|
||||
Reference in New Issue
Block a user