ToolingFacade.Update(String, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates the database to the specified migration.
public void Update (string targetMigration, bool force);
member this.Update : string * bool -> unit
Public Sub Update (targetMigration As String, force As Boolean)
Parameters
- targetMigration
- String
The Id of the migration to migrate to. If null is supplied, the database will be updated to the latest migration.
- force
- Boolean
Value indicating if data loss during automatic migration is acceptable.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework