src/Shared/EntityFramework/Migrations/Model/UpdateDatabaseOperation.cs
/// <summary>
/// Adds a migration to this update database operation.
///
/// Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources 
/// (such as the end user of an application). If input is accepted from such sources it should be validated 
/// before being passed to these APIs to protect against SQL injection attacks etc.
/// </summary>
/// <param name="migrationId">The id of the migration.</param>
/// <param name="operations">The individual operations applied by the migration.</param>
Adds a migration to this update database operation.

Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources
(such as the end user of an application). If input is accepted from such sources it should be validated
before being passed to these APIs to protect against SQL injection attacks etc.
Adds a migration to this update database operation . Entity Framework Migrations APIs are not designed to accept input provided by untrusted sources ( such as the end user of an application ) . If input is accepted from such sources it should be validated before being passed to these APIs to protect against SQL injection attacks etc .
public void AddMigration(string migrationId, IList<MigrationOperation> operations)
        {
            Check.NotEmpty(migrationId, "migrationId");
            Check.NotNull(operations, "operations");
            _migrations.Add(new Migration(migrationId, operations));
        }
public void AddMigration ( string migrationId , IList < MigrationOperation > operations ) { Check . NotEmpty ( migrationId , " " ) ; Check . NotNull ( operations , " " ) ; _migrations . Add ( new Migration ( migrationId , operations ) ) ; }
Adds a migration to this update database operation.
Adds a migration to this update database operation .
migrationId
string
The id of the migration.
The id of the migration .
operations
IList<MigrationOperation>
The individual operations applied by the migration.
The individual operations applied by the migration .