TransactionSqliteTest TransactionSqliteTest Class

Definition

public class TransactionSqliteTest : TransactionTestBase<SqliteTestStore, TransactionSqliteFixture>, IDisposable
Public Class TransactionSqliteTest
    Inherits TransactionTestBase(Of SqliteTestStore, TransactionSqliteFixture)
    Implements IDisposable
Inheritance
System.ObjectSystem.Object
TransactionSqliteTestTransactionSqliteTest
Implements
System.IDisposableSystem.IDisposable

Constructors

TransactionSqliteTest(TransactionSqliteFixture) TransactionSqliteTest(TransactionSqliteFixture)

public TransactionSqliteTest(TransactionSqliteFixture fixture)
Public Sub New(fixture As TransactionSqliteFixture)
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.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>.SnapshotSupportedMicrosoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>.SnapshotSupported

Methods

AssertStoreInitialState() AssertStoreInitialState()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

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.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

CreateContext() CreateContext()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

CreateContext(DbConnection) CreateContext(DbConnection)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

DirtyReadsOccur DirtyReadsOccur

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

Dispose() Dispose()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

EnsureInitialState() EnsureInitialState()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

Fixture Fixture

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

QueryAsync_uses_explicit_transaction(Boolean) QueryAsync_uses_explicit_transaction(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

Query_uses_explicit_transaction(Boolean) Query_uses_explicit_transaction(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

RelationalTransaction_can_be_commited(Boolean) RelationalTransaction_can_be_commited(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

RelationalTransaction_can_be_commited_from_context(Boolean) RelationalTransaction_can_be_commited_from_context(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

RelationalTransaction_can_be_rolled_back(Boolean) RelationalTransaction_can_be_rolled_back(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

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.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

SaveChangesAsync_can_be_used_with_no_transaction() SaveChangesAsync_can_be_used_with_no_transaction()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

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.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

SaveChangesAsync_implicitly_starts_transaction() SaveChangesAsync_implicitly_starts_transaction()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

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.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

SaveChangesAsync_uses_explicit_transaction_without_committing(Boolean) SaveChangesAsync_uses_explicit_transaction_without_committing(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

SaveChanges_can_be_used_with_no_transaction() SaveChanges_can_be_used_with_no_transaction()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

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.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

SaveChanges_implicitly_starts_transaction() SaveChanges_implicitly_starts_transaction()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

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.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

SaveChanges_uses_explicit_transaction_without_committing(Boolean) SaveChanges_uses_explicit_transaction_without_committing(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

SnapshotSupported SnapshotSupported

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

TestDatabase TestDatabase

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

UseTransaction_throws_if_another_transaction_started(Boolean) UseTransaction_throws_if_another_transaction_started(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

UseTransaction_throws_if_mismatched_connection(Boolean) UseTransaction_throws_if_mismatched_connection(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>

UseTransaction_will_not_dispose_external_transaction(Boolean) UseTransaction_will_not_dispose_external_transaction(Boolean)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.TransactionTestBase<Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.SqliteTestStore, Microsoft.EntityFrameworkCore.Sqlite.FunctionalTests.TransactionSqliteFixture>