MigrationsSqlServerTest MigrationsSqlServerTest Class

Definition

[SqlServerCondition(SqlServerCondition.IsNotSqlAzure)]
public class MigrationsSqlServerTest : MigrationsTestBase<MigrationsSqlServerFixture>
<SqlServerCondition(SqlServerCondition.IsNotSqlAzure)>
Public Class MigrationsSqlServerTest
    Inherits MigrationsTestBase(Of MigrationsSqlServerFixture)
Inheritance
System.ObjectSystem.Object
MigrationsSqlServerTestMigrationsSqlServerTest
Attributes

Constructors

MigrationsSqlServerTest(MigrationsSqlServerFixture) MigrationsSqlServerTest(MigrationsSqlServerFixture)

public MigrationsSqlServerTest(MigrationsSqlServerFixture fixture)
Public Sub New(fixture As MigrationsSqlServerFixture)
Parameters

Methods

ActiveProvider ActiveProvider

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

AssertFirstMigration(DbConnection) AssertFirstMigration(DbConnection)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

AssertFirstMigrationAsync(DbConnection) AssertFirstMigrationAsync(DbConnection)

protected override Task AssertFirstMigrationAsync(DbConnection connection)
Protected Overrides Function AssertFirstMigrationAsync(connection As DbConnection) As Task
Parameters
connection
System.Data.Common.DbConnection System.Data.Common.DbConnection
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.AssertFirstMigrationAsync(System.Data.Common.DbConnection)Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.AssertFirstMigrationAsync(System.Data.Common.DbConnection)

AssertSecondMigration(DbConnection) AssertSecondMigration(DbConnection)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

AssertSecondMigrationAsync(DbConnection) AssertSecondMigrationAsync(DbConnection)

protected override Task AssertSecondMigrationAsync(DbConnection connection)
Protected Overrides Function AssertSecondMigrationAsync(connection As DbConnection) As Task
Parameters
connection
System.Data.Common.DbConnection System.Data.Common.DbConnection
Returns
System.Threading.Tasks.Task System.Threading.Tasks.Task
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.AssertSecondMigrationAsync(System.Data.Common.DbConnection)Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.AssertSecondMigrationAsync(System.Data.Common.DbConnection)

BuildFirstMigration(MigrationBuilder) BuildFirstMigration(MigrationBuilder)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

BuildSecondMigration(MigrationBuilder) BuildSecondMigration(MigrationBuilder)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

Can_apply_all_migrations() Can_apply_all_migrations()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

Can_apply_all_migrations_async() Can_apply_all_migrations_async()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

Can_apply_one_migration() Can_apply_one_migration()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

Can_execute_operations() Can_execute_operations()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

Can_generate_down_scripts() Can_generate_down_scripts()

public override void Can_generate_down_scripts()
Public Overrides Sub Can_generate_down_scripts
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_down_scripts()Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_down_scripts()

Can_generate_down_script_using_names() Can_generate_down_script_using_names()

public override void Can_generate_down_script_using_names()
Public Overrides Sub Can_generate_down_script_using_names
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_down_script_using_names()Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_down_script_using_names()

Can_generate_idempotent_down_scripts() Can_generate_idempotent_down_scripts()

public override void Can_generate_idempotent_down_scripts()
Public Overrides Sub Can_generate_idempotent_down_scripts
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_idempotent_down_scripts()Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_idempotent_down_scripts()

Can_generate_idempotent_up_scripts() Can_generate_idempotent_up_scripts()

public override void Can_generate_idempotent_up_scripts()
Public Overrides Sub Can_generate_idempotent_up_scripts
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_idempotent_up_scripts()Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_idempotent_up_scripts()

Can_generate_migration_from_initial_database_to_initial() Can_generate_migration_from_initial_database_to_initial()

public override void Can_generate_migration_from_initial_database_to_initial()
Public Overrides Sub Can_generate_migration_from_initial_database_to_initial
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_migration_from_initial_database_to_initial()Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_migration_from_initial_database_to_initial()

Can_generate_no_migration_script() Can_generate_no_migration_script()

public override void Can_generate_no_migration_script()
Public Overrides Sub Can_generate_no_migration_script
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_no_migration_script()Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_no_migration_script()

Can_generate_one_down_script() Can_generate_one_down_script()

public override void Can_generate_one_down_script()
Public Overrides Sub Can_generate_one_down_script
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_one_down_script()Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_one_down_script()

Can_generate_one_up_script() Can_generate_one_up_script()

public override void Can_generate_one_up_script()
Public Overrides Sub Can_generate_one_up_script
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_one_up_script()Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_one_up_script()

Can_generate_up_scripts() Can_generate_up_scripts()

public override void Can_generate_up_scripts()
Public Overrides Sub Can_generate_up_scripts
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_up_scripts()Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_up_scripts()

Can_generate_up_script_using_names() Can_generate_up_script_using_names()

public override void Can_generate_up_script_using_names()
Public Overrides Sub Can_generate_up_script_using_names
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_up_script_using_names()Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_generate_up_script_using_names()

Can_get_active_provider() Can_get_active_provider()

public override void Can_get_active_provider()
Public Overrides Sub Can_get_active_provider
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_get_active_provider()Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Can_get_active_provider()

Can_revert_all_migrations() Can_revert_all_migrations()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

Can_revert_one_migrations() Can_revert_one_migrations()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

ExecuteAsync(IServiceProvider, Action) ExecuteAsync(IServiceProvider, Action(Of MigrationBuilder))

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

Fixture Fixture

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>

Sql Sql

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>