ToolingFacade.Scaffold(String, String, 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.
Scaffolds a code-based migration to apply any pending model changes.
public virtual System.Data.Entity.Migrations.Design.ScaffoldedMigration Scaffold (string migrationName, string language, string rootNamespace, bool ignoreChanges);
abstract member Scaffold : string * string * string * bool -> System.Data.Entity.Migrations.Design.ScaffoldedMigration
override this.Scaffold : string * string * string * bool -> System.Data.Entity.Migrations.Design.ScaffoldedMigration
Public Overridable Function Scaffold (migrationName As String, language As String, rootNamespace As String, ignoreChanges As Boolean) As ScaffoldedMigration
Parameters
- migrationName
- String
The name for the generated migration.
- language
- String
The programming language of the generated migration.
- rootNamespace
- String
The root namespace of the project the migration will be added to.
- ignoreChanges
- Boolean
Whether or not to include model changes.
Returns
The scaffolded migration.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework