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

Inherited Members

Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase{Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture}

Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.FixtureMicrosoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Fixture
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.SqlMicrosoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.Sql
Microsoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.ActiveProviderMicrosoft.EntityFrameworkCore.Specification.Tests.MigrationsTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.MigrationsSqlServerFixture>.ActiveProvider
ExecuteAsync(System.IServiceProvider, System.Action<MigrationBuilder>)ExecuteAsync(System.IServiceProvider, System.Action(Of MigrationBuilder))
AssertFirstMigration(System.Data.Common.DbConnection)AssertFirstMigration(System.Data.Common.DbConnection)
AssertSecondMigration(System.Data.Common.DbConnection)AssertSecondMigration(System.Data.Common.DbConnection)

Constructors

MigrationsSqlServerTest(MigrationsSqlServerFixture) MigrationsSqlServerTest(MigrationsSqlServerFixture)

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

Methods

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)

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)

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_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_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_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_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_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()