TransactionSqlServerTest TransactionSqlServerTest Class

Definition

public class TransactionSqlServerTest : TransactionTestBase<SqlServerTestStore, TransactionSqlServerFixture>, IDisposable
Public Class TransactionSqlServerTest
    Inherits TransactionTestBase(Of SqlServerTestStore, TransactionSqlServerFixture)
    Implements IDisposable
Inheritance
System.ObjectSystem.Object
TransactionSqlServerTestTransactionSqlServerTest
Implements
System.IDisposableSystem.IDisposable

Constructors

TransactionSqlServerTest(TransactionSqlServerFixture) TransactionSqlServerTest(TransactionSqlServerFixture)

public TransactionSqlServerTest(TransactionSqlServerFixture fixture)
Public Sub New(fixture As TransactionSqlServerFixture)
Parameters

Properties

SnapshotSupported SnapshotSupported

protected override bool SnapshotSupported { get; }
Protected Overrides ReadOnly Property SnapshotSupported As Boolean
Value
System.Boolean System.Boolean
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>.SnapshotSupportedMicrosoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>.SnapshotSupported

Methods

AssertStoreInitialState() AssertStoreInitialState()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

Can_use_open_connection_with_started_transaction(Boolean) Can_use_open_connection_with_started_transaction(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

CreateContext() CreateContext()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

CreateContext(DbConnection) CreateContext(DbConnection)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

DirtyReadsOccur DirtyReadsOccur

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

Dispose() Dispose()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

Dispose() Dispose()

public override void Dispose()
Public Overrides Sub Dispose
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>.Dispose()Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>.Dispose()

EnsureInitialState() EnsureInitialState()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

Fixture Fixture

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

QueryAsync_uses_explicit_transaction(Boolean) QueryAsync_uses_explicit_transaction(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

Query_uses_explicit_transaction(Boolean) Query_uses_explicit_transaction(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

RelationalTransaction_can_be_commited(Boolean) RelationalTransaction_can_be_commited(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

RelationalTransaction_can_be_commited_from_context(Boolean) RelationalTransaction_can_be_commited_from_context(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

RelationalTransaction_can_be_rolled_back(Boolean) RelationalTransaction_can_be_rolled_back(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

RelationalTransaction_can_be_rolled_back_from_context(Boolean) RelationalTransaction_can_be_rolled_back_from_context(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

SaveChangesAsync_can_be_used_with_no_transaction() SaveChangesAsync_can_be_used_with_no_transaction()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

SaveChangesAsync_false_uses_explicit_transaction_without_committing_or_accepting_changes(Boolean) SaveChangesAsync_false_uses_explicit_transaction_without_committing_or_accepting_changes(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

SaveChangesAsync_implicitly_starts_transaction() SaveChangesAsync_implicitly_starts_transaction()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

SaveChangesAsync_uses_explicit_transaction_and_does_not_rollback_on_failure(Boolean) SaveChangesAsync_uses_explicit_transaction_and_does_not_rollback_on_failure(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

SaveChangesAsync_uses_explicit_transaction_without_committing(Boolean) SaveChangesAsync_uses_explicit_transaction_without_committing(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

SaveChanges_can_be_used_with_no_transaction() SaveChanges_can_be_used_with_no_transaction()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

SaveChanges_false_uses_explicit_transaction_without_committing_or_accepting_changes(Boolean) SaveChanges_false_uses_explicit_transaction_without_committing_or_accepting_changes(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

SaveChanges_implicitly_starts_transaction() SaveChanges_implicitly_starts_transaction()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

SaveChanges_uses_explicit_transaction_and_does_not_rollback_on_failure(Boolean) SaveChanges_uses_explicit_transaction_and_does_not_rollback_on_failure(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

SaveChanges_uses_explicit_transaction_without_committing(Boolean) SaveChanges_uses_explicit_transaction_without_committing(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

SnapshotSupported SnapshotSupported

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

TestDatabase TestDatabase

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

UseTransaction_throws_if_another_transaction_started(Boolean) UseTransaction_throws_if_another_transaction_started(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

UseTransaction_throws_if_mismatched_connection(Boolean) UseTransaction_throws_if_mismatched_connection(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>

UseTransaction_will_not_dispose_external_transaction(Boolean) UseTransaction_will_not_dispose_external_transaction(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.TransactionSqlServerFixture>