StoreGeneratedSqlServerTest StoreGeneratedSqlServerTest Class

Definition

public class StoreGeneratedSqlServerTest : StoreGeneratedTestBase<SqlServerTestStore, StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>, IDisposable
Public Class StoreGeneratedSqlServerTest
    Inherits StoreGeneratedTestBase(Of SqlServerTestStore, StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture)
    Implements IDisposable
Inheritance
Implements
System.IDisposableSystem.IDisposable

Constructors

StoreGeneratedSqlServerTest(StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture) StoreGeneratedSqlServerTest(StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture)

public StoreGeneratedSqlServerTest(StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture fixture)
Public Sub New(fixture As StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture)
Parameters

Methods

Always_computed_property_on_Added_entity_cannot_have_value_set_explicitly() Always_computed_property_on_Added_entity_cannot_have_value_set_explicitly()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_computed_property_on_Added_entity_with_default_value_gets_value_from_store() Always_computed_property_on_Added_entity_with_default_value_gets_value_from_store()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_computed_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set() Always_computed_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_computed_property_on_Added_entity_with_temporary_value_gets_value_from_store() Always_computed_property_on_Added_entity_with_temporary_value_gets_value_from_store()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_computed_property_on_Modified_entity_is_not_included_in_update_even_when_modified() Always_computed_property_on_Modified_entity_is_not_included_in_update_even_when_modified()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_computed_property_on_Modified_entity_is_read_from_store_when_not_modified() Always_computed_property_on_Modified_entity_is_read_from_store_when_not_modified()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_computed_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state() Always_computed_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_identity_property_on_Added_entity_gets_store_value_even_when_set_explicitly() Always_identity_property_on_Added_entity_gets_store_value_even_when_set_explicitly()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_identity_property_on_Added_entity_with_default_value_gets_value_from_store() Always_identity_property_on_Added_entity_with_default_value_gets_value_from_store()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_identity_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set() Always_identity_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_identity_property_on_Added_entity_with_temporary_value_gets_value_from_store() Always_identity_property_on_Added_entity_with_temporary_value_gets_value_from_store()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_identity_property_on_Modified_entity_is_not_included_in_the_update_when_not_modified() Always_identity_property_on_Modified_entity_is_not_included_in_the_update_when_not_modified()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_identity_property_on_Modified_entity_is_not_included_in_update_when_modified() Always_identity_property_on_Modified_entity_is_not_included_in_update_when_modified()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Always_identity_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state() Always_identity_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Computed_property_on_Added_entity_can_have_value_set_explicitly() Computed_property_on_Added_entity_can_have_value_set_explicitly()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Computed_property_on_Added_entity_with_default_value_gets_value_from_store() Computed_property_on_Added_entity_with_default_value_gets_value_from_store()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Computed_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set() Computed_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Computed_property_on_Added_entity_with_temporary_value_gets_value_from_store() Computed_property_on_Added_entity_with_temporary_value_gets_value_from_store()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Computed_property_on_Modified_entity_is_included_in_update_when_modified() Computed_property_on_Modified_entity_is_included_in_update_when_modified()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Computed_property_on_Modified_entity_is_read_from_store_when_not_modified() Computed_property_on_Modified_entity_is_read_from_store_when_not_modified()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Computed_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state() Computed_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

CreateContext() CreateContext()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Dispose() Dispose()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Exception_in_SaveChanges_causes_store_values_to_be_reverted() Exception_in_SaveChanges_causes_store_values_to_be_reverted()

public virtual void Exception_in_SaveChanges_causes_store_values_to_be_reverted()
Public Overridable Sub Exception_in_SaveChanges_causes_store_values_to_be_reverted

ExecuteWithStrategyInTransaction(Action<><>>, Action<><>>, Action<><>>) ExecuteWithStrategyInTransaction(Action(Of StoreGeneratedTestBase.StoreGeneratedContext(Of )), Action(Of StoreGeneratedTestBase.StoreGeneratedContext(Of )), Action(Of StoreGeneratedTestBase.StoreGeneratedContext(Of )))

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Fixture Fixture

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Identity_key_with_read_only_before_save_throws_if_explicit_values_set() Identity_key_with_read_only_before_save_throws_if_explicit_values_set()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Identity_property_on_Added_entity_can_have_value_set_explicitly() Identity_property_on_Added_entity_can_have_value_set_explicitly()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Identity_property_on_Added_entity_with_default_value_gets_value_from_store() Identity_property_on_Added_entity_with_default_value_gets_value_from_store()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Identity_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set() Identity_property_on_Added_entity_with_read_only_before_save_throws_if_explicit_values_set()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Identity_property_on_Added_entity_with_temporary_value_gets_value_from_store() Identity_property_on_Added_entity_with_temporary_value_gets_value_from_store()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Identity_property_on_Modified_entity_is_included_in_update_when_modified() Identity_property_on_Modified_entity_is_included_in_update_when_modified()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Identity_property_on_Modified_entity_is_not_included_in_update_when_not_modified() Identity_property_on_Modified_entity_is_not_included_in_update_when_not_modified()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

Identity_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state() Identity_property_on_Modified_entity_with_read_only_after_save_throws_if_value_is_in_modified_state()

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

TestStore TestStore

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

UseTransaction(DatabaseFacade, IDbContextTransaction) UseTransaction(DatabaseFacade, IDbContextTransaction)

Inherited from Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>

UseTransaction(DatabaseFacade, IDbContextTransaction) UseTransaction(DatabaseFacade, IDbContextTransaction)

protected override void UseTransaction(DatabaseFacade facade, IDbContextTransaction transaction)
Protected Overrides Sub UseTransaction(facade As DatabaseFacade, transaction As IDbContextTransaction)
Parameters
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>.UseTransaction(Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade, Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction)Microsoft.EntityFrameworkCore.Specification.Tests.StoreGeneratedTestBase<Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.Utilities.SqlServerTestStore, Microsoft.EntityFrameworkCore.SqlServer.FunctionalTests.StoreGeneratedSqlServerTest.StoreGeneratedSqlServerFixture>.UseTransaction(Microsoft.EntityFrameworkCore.Infrastructure.DatabaseFacade, Microsoft.EntityFrameworkCore.Storage.IDbContextTransaction)