src/Shared/EntityFramework/Migrations/Design/MigrationScaffolder.cs
/// <summary>
/// Scaffolds a code based migration to apply any pending model changes to the database.
/// </summary>
/// <param name="migrationName"> The name to use for the scaffolded migration. </param>
/// <param name="ignoreChanges"> Whether or not to include model changes. </param>
/// <returns> The scaffolded migration. </returns>
Scaffolds a code based migration to apply any pending model changes to the database.
Scaffolds a code based migration to apply any pending model changes to the database .
public virtual ScaffoldedMigration Scaffold(string migrationName, bool ignoreChanges)
        {
            Check.NotEmpty(migrationName, "migrationName");
            return _migrator.Scaffold(migrationName, Namespace, ignoreChanges);
        }
public virtual ScaffoldedMigration Scaffold ( string migrationName , bool ignoreChanges ) { Check . NotEmpty ( migrationName , " " ) ; return _migrator . Scaffold ( migrationName , Namespace , ignoreChanges ) ; }
Scaffolds a code based migration to apply any pending model changes to the database.
Scaffolds a code based migration to apply any pending model changes to the database .
The scaffolded migration.
The scaffolded migration .
migrationName
string
The name to use for the scaffolded migration.
The name to use for the scaffolded migration .
ignoreChanges
bool
Whether or not to include model changes.
Whether or not to include model changes .