DataAnnotationTestBase<TTestStore, TFixture> DataAnnotationTestBase(Of TTestStore, TFixture) Class

Definition

public abstract class DataAnnotationTestBase<TTestStore, TFixture> : IClassFixture<TFixture>, IDisposable where TTestStore : TestStore where TFixture : DataAnnotationFixtureBase<TTestStore>, new ()
Public MustInherit Class DataAnnotationTestBase(Of TTestStore As TestStore, TFixture As {DataAnnotationFixtureBase(Of TTestStore), New})
    Inherits IClassFixture(Of TFixture)
    Implements IDisposable

Type Parameters

TTestStore
TFixture
Inheritance
System.ObjectSystem.Object
DataAnnotationTestBase<TTestStore, TFixture>DataAnnotationTestBase(Of TTestStore, TFixture)
Implements
System.IDisposableSystem.IDisposable

Constructors

DataAnnotationTestBase(TFixture) DataAnnotationTestBase(TFixture)

Properties

Fixture Fixture
TestStore TestStore

Methods

Annotation_in_derived_class_when_base_class_processed_after_derived_class() Annotation_in_derived_class_when_base_class_processed_after_derived_class()
ConcurrencyCheckAttribute_throws_if_value_in_database_changed() ConcurrencyCheckAttribute_throws_if_value_in_database_changed()
CreateContext() CreateContext()
CreateModelBuilder() CreateModelBuilder()
DatabaseGeneratedAttribute_autogenerates_values_when_set_to_identity() DatabaseGeneratedAttribute_autogenerates_values_when_set_to_identity()
DatabaseGeneratedOption_configures_the_property_correctly() DatabaseGeneratedOption_configures_the_property_correctly()
Default_length_for_key_string_column() Default_length_for_key_string_column()
Dispose() Dispose()
Duplicate_column_order_is_ignored() Duplicate_column_order_is_ignored()
ExecuteWithStrategyInTransaction(Action<DataAnnotationContext>) ExecuteWithStrategyInTransaction(Action(Of DataAnnotationContext))
Explicit_configuration_on_derived_type_or_base_type_is_last_one_wins() Explicit_configuration_on_derived_type_or_base_type_is_last_one_wins()
Explicit_configuration_on_derived_type_overrides_annotation_on_mapped_base_type() Explicit_configuration_on_derived_type_overrides_annotation_on_mapped_base_type()
Explicit_configuration_on_derived_type_overrides_annotation_on_unmapped_base_type() Explicit_configuration_on_derived_type_overrides_annotation_on_unmapped_base_type()
Field_annotations_are_enabled() Field_annotations_are_enabled()
ForeignKey_to_ForeignKey() ForeignKey_to_ForeignKey()
ForeignKey_to_ForeignKey_same_name() ForeignKey_to_ForeignKey_same_name()
ForeignKey_to_ForeignKey_same_name_one_shadow() ForeignKey_to_ForeignKey_same_name_one_shadow()
ForeignKey_to_nothing() ForeignKey_to_nothing()
ForeignKeyAttribute_creates_two_relationships_if_applied_on_navigation_and_property_on_different_side_and_values_do_not_match() ForeignKeyAttribute_creates_two_relationships_if_applied_on_navigation_and_property_on_different_side_and_values_do_not_match()
ForeignKeyAttribute_creates_two_relationships_if_applied_on_navigations_on_both_side_and_values_do_not_match() ForeignKeyAttribute_creates_two_relationships_if_applied_on_navigations_on_both_side_and_values_do_not_match()
ForeignKeyAttribute_creates_two_relationships_if_applied_on_property_on_both_side() ForeignKeyAttribute_creates_two_relationships_if_applied_on_property_on_both_side()
ForeignKeyAttribute_throws_if_applied_on_both_navigations_connected_by_inverse_property_but_values_do_not_match() ForeignKeyAttribute_throws_if_applied_on_both_navigations_connected_by_inverse_property_but_values_do_not_match()
ForeignKeyAttribute_throws_if_applied_on_property_on_both_side_but_navigations_are_connected_by_inverse_property() ForeignKeyAttribute_throws_if_applied_on_property_on_both_side_but_navigations_are_connected_by_inverse_property()
GetProperty<TEntity>(ModelBuilder, String) GetProperty(Of TEntity)(ModelBuilder, String)
InversePropertyAttribute_from_ignored_base_can_be_ignored_to_remove_ambiguity() InversePropertyAttribute_from_ignored_base_can_be_ignored_to_remove_ambiguity()
InversePropertyAttribute_from_ignored_base_causes_ambiguity() InversePropertyAttribute_from_ignored_base_causes_ambiguity()
InversePropertyAttribute_removes_ambiguity() InversePropertyAttribute_removes_ambiguity()
InversePropertyAttribute_removes_ambiguity_with_base_type() InversePropertyAttribute_removes_ambiguity_with_base_type()
InversePropertyAttribute_removes_ambiguity_with_base_type_ignored() InversePropertyAttribute_removes_ambiguity_with_base_type_ignored()
Key_and_column_work_together() Key_and_column_work_together()
Key_and_MaxLength_64_produce_nvarchar_64() Key_and_MaxLength_64_produce_nvarchar_64()
Key_from_base_type_is_recognized() Key_from_base_type_is_recognized()
Key_from_base_type_is_recognized_if_base_discovered_first() Key_from_base_type_is_recognized_if_base_discovered_first()
Key_from_base_type_is_recognized_if_discovered_through_relationship() Key_from_base_type_is_recognized_if_discovered_through_relationship()
Key_on_nav_prop_is_ignored() Key_on_nav_prop_is_ignored()
Key_property_is_not_used_for_FK_when_set_by_annotation() Key_property_is_not_used_for_FK_when_set_by_annotation()
MaxLength_with_length_takes_precedence_over_StringLength() MaxLength_with_length_takes_precedence_over_StringLength()
MaxLengthAttribute_throws_while_inserting_value_longer_than_max_length() MaxLengthAttribute_throws_while_inserting_value_longer_than_max_length()
Non_public_annotations_are_enabled() Non_public_annotations_are_enabled()
Nothing_to_ForeignKey() Nothing_to_ForeignKey()
Nothing_to_Required_and_ForeignKey() Nothing_to_Required_and_ForeignKey()
NotMapped_on_abstract_base_class_property_ignores_it() NotMapped_on_abstract_base_class_property_ignores_it()
NotMapped_on_base_class_property_and_overriden_property_ignores_them() NotMapped_on_base_class_property_and_overriden_property_ignores_them()
NotMapped_on_base_class_property_discovered_through_navigation_ignores_it() NotMapped_on_base_class_property_discovered_through_navigation_ignores_it()
NotMapped_on_base_class_property_ignores_it() NotMapped_on_base_class_property_ignores_it()
NotMapped_on_new_property_with_same_name_as_in_unmapped_base_class_ignores_it() NotMapped_on_new_property_with_same_name_as_in_unmapped_base_class_ignores_it()
NotMapped_on_overriden_mapped_base_class_property_throws() NotMapped_on_overriden_mapped_base_class_property_throws()
NotMapped_on_unmapped_base_class_property_and_overriden_property_ignores_it() NotMapped_on_unmapped_base_class_property_and_overriden_property_ignores_it()
NotMapped_on_unmapped_base_class_property_ignores_it() NotMapped_on_unmapped_base_class_property_ignores_it()
NotMapped_on_unmapped_derived_property_ignores_it() NotMapped_on_unmapped_derived_property_ignores_it()
NotMapped_should_propagate_down_inheritance_hierarchy() NotMapped_should_propagate_down_inheritance_hierarchy()
NotMappedAttribute_ignores_entityType() NotMappedAttribute_ignores_entityType()
NotMappedAttribute_ignores_explicit_interface_implementation_property() NotMappedAttribute_ignores_explicit_interface_implementation_property()
NotMappedAttribute_ignores_navigation() NotMappedAttribute_ignores_navigation()
NotMappedAttribute_ignores_property() NotMappedAttribute_ignores_property()
NotMappedAttribute_removes_ambiguity_in_relationship_building() NotMappedAttribute_removes_ambiguity_in_relationship_building()
NotMappedAttribute_removes_ambiguity_in_relationship_building_with_base() NotMappedAttribute_removes_ambiguity_in_relationship_building_with_base()
Required_and_ForeignKey_to_nothing() Required_and_ForeignKey_to_nothing()
Required_and_ForeignKey_to_Required() Required_and_ForeignKey_to_Required()
Required_and_ForeignKey_to_Required_and_ForeignKey() Required_and_ForeignKey_to_Required_and_ForeignKey()
Required_and_ForeignKey_to_Required_and_ForeignKey_can_be_overriden() Required_and_ForeignKey_to_Required_and_ForeignKey_can_be_overriden()
Required_to_Required_and_ForeignKey() Required_to_Required_and_ForeignKey()
RequiredAttribute_does_nothing_when_specified_on_nav_to_dependent_per_convention() RequiredAttribute_does_nothing_when_specified_on_nav_to_dependent_per_convention()
RequiredAttribute_for_navigation_throws_while_inserting_null_value() RequiredAttribute_for_navigation_throws_while_inserting_null_value()
RequiredAttribute_for_property_throws_while_inserting_null_value() RequiredAttribute_for_property_throws_while_inserting_null_value()
Shared_ForeignKey_to_different_principals() Shared_ForeignKey_to_different_principals()
StringLength_with_value_takes_presedence_over_MaxLength() StringLength_with_value_takes_presedence_over_MaxLength()
StringLengthAttribute_throws_while_inserting_value_longer_than_max_length() StringLengthAttribute_throws_while_inserting_value_longer_than_max_length()
TableNameAttribute_affects_table_name_in_TPH() TableNameAttribute_affects_table_name_in_TPH()
Timestamp_takes_precedence_over_MaxLength() Timestamp_takes_precedence_over_MaxLength()
Timestamp_takes_precedence_over_MaxLength_with_value() Timestamp_takes_precedence_over_MaxLength_with_value()
TimestampAttribute_throws_if_value_in_database_changed() TimestampAttribute_throws_if_value_in_database_changed()
UseTransaction(DatabaseFacade, IDbContextTransaction) UseTransaction(DatabaseFacade, IDbContextTransaction)
Validate(ModelBuilder) Validate(ModelBuilder)