Data​Annotation​In​Memory​Test Data​Annotation​In​Memory​Test Class

Definition

public class DataAnnotationInMemoryTest : DataAnnotationTestBase<InMemoryTestStore, DataAnnotationInMemoryFixture>, IDisposablePublic Class DataAnnotationInMemoryTest
    Inherits DataAnnotationTestBase(Of InMemoryTestStore, DataAnnotationInMemoryFixture)
    Implements IDisposable
Inheritance
System.ObjectSystem.Object
DataAnnotationInMemoryTestDataAnnotationInMemoryTest
Implements
System.IDisposableSystem.IDisposable

Inherited Members

Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase{Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore,Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture}

Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.FixtureMicrosoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.Fixture
Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.TestStoreMicrosoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.TestStore

Constructors

DataAnnotationInMemoryTest(DataAnnotationInMemoryFixture) DataAnnotationInMemoryTest(DataAnnotationInMemoryFixture)

public DataAnnotationInMemoryTest(DataAnnotationInMemoryFixture fixture)Public Sub New(fixture As DataAnnotationInMemoryFixture)
Parameters

Methods

ConcurrencyCheckAttribute_throws_if_value_in_database_changed() ConcurrencyCheckAttribute_throws_if_value_in_database_changed()

public override void ConcurrencyCheckAttribute_throws_if_value_in_database_changed()Public Overrides Sub ConcurrencyCheckAttribute_throws_if_value_in_database_changed
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.ConcurrencyCheckAttribute_throws_if_value_in_database_changed()Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.ConcurrencyCheckAttribute_throws_if_value_in_database_changed()

DatabaseGeneratedOption_configures_the_property_correctly() DatabaseGeneratedOption_configures_the_property_correctly()

public override ModelBuilder DatabaseGeneratedOption_configures_the_property_correctly()Public Overrides Function DatabaseGeneratedOption_configures_the_property_correctly As ModelBuilder
Returns
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.DatabaseGeneratedOption_configures_the_property_correctly()Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.DatabaseGeneratedOption_configures_the_property_correctly()

MaxLengthAttribute_throws_while_inserting_value_longer_than_max_length() MaxLengthAttribute_throws_while_inserting_value_longer_than_max_length()

public override void MaxLengthAttribute_throws_while_inserting_value_longer_than_max_length()Public Overrides Sub MaxLengthAttribute_throws_while_inserting_value_longer_than_max_length
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.MaxLengthAttribute_throws_while_inserting_value_longer_than_max_length()Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.MaxLengthAttribute_throws_while_inserting_value_longer_than_max_length()

RequiredAttribute_for_navigation_throws_while_inserting_null_value() RequiredAttribute_for_navigation_throws_while_inserting_null_value()

public override void RequiredAttribute_for_navigation_throws_while_inserting_null_value()Public Overrides Sub RequiredAttribute_for_navigation_throws_while_inserting_null_value
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.RequiredAttribute_for_navigation_throws_while_inserting_null_value()Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.RequiredAttribute_for_navigation_throws_while_inserting_null_value()

RequiredAttribute_for_property_throws_while_inserting_null_value() RequiredAttribute_for_property_throws_while_inserting_null_value()

public override void RequiredAttribute_for_property_throws_while_inserting_null_value()Public Overrides Sub RequiredAttribute_for_property_throws_while_inserting_null_value
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.RequiredAttribute_for_property_throws_while_inserting_null_value()Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.RequiredAttribute_for_property_throws_while_inserting_null_value()

StringLengthAttribute_throws_while_inserting_value_longer_than_max_length() StringLengthAttribute_throws_while_inserting_value_longer_than_max_length()

public override void StringLengthAttribute_throws_while_inserting_value_longer_than_max_length()Public Overrides Sub StringLengthAttribute_throws_while_inserting_value_longer_than_max_length
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.StringLengthAttribute_throws_while_inserting_value_longer_than_max_length()Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.StringLengthAttribute_throws_while_inserting_value_longer_than_max_length()

TimestampAttribute_throws_if_value_in_database_changed() TimestampAttribute_throws_if_value_in_database_changed()

public override void TimestampAttribute_throws_if_value_in_database_changed()Public Overrides Sub TimestampAttribute_throws_if_value_in_database_changed
Overrides
Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.TimestampAttribute_throws_if_value_in_database_changed()Microsoft.EntityFrameworkCore.Specification.Tests.DataAnnotationTestBase<Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.InMemoryTestStore, Microsoft.EntityFrameworkCore.InMemory.FunctionalTests.DataAnnotationInMemoryFixture>.TimestampAttribute_throws_if_value_in_database_changed()