DataAnnotationTestBase<TFixture>
A
AbstractBaseEntity1
AbstractBaseEntity2
AbstractBaseEntity3
AbstractBaseEntity5
AdditionalBookDetails
AmbiguousInversePropertyLeft
AmbiguousInversePropertyLeftDerived
AmbiguousInversePropertyRight
AmbiguousInversePropertyRightDerived
AnotherBookLabel
Author
AuthorDetails
B
BaseEntity1
BaseEntity2
BaseEntity3
BaseEntity5
Blog7698
Book
BookDetails
BookDetailsBase
BookLabel
C
Child
ColumnKeyAnnotationClass1
ColumnKeyAnnotationClass2
ConflictingFKAttributes
CPSorder
CPSpecialOrder
D
DASimple
DataAnnotationFixtureBase
DependantA
Details
DifferentUnit1
DifferentUnit2
DifferentUnit3
DifferentUnit5
DODerived
E
Employee
Entity_10558
EntityAnnotationBase
ExtraSpecialBookLabel
FieldAnnotationClass
GeneratedEntity
GeneratedEntityNonInteger
IEntityBase
KeyFluentApiAndKeylessAttribute
KeylessAndKeyAttributes
KeylessFluentApiAndKeyAttribute
KeyOnNavProp
Login1
Login10
Login11
Login12
Login13
Login14
Login2
Login3
Login4
Login5
Login6
Login7
Login8
Login9
MaxLengthAnnotationClass
MaxLengthWithLengthAnnotationClass
MenuGroup
MenuPage
NotMappedBase
NotMappedDerived
OKeyBase
One
OneBase
Order
P
Parent
Partner
Person
Post
Post7698
PostDetails
PrecisionAnnotationClass
PrincipalA
PrincipalB
PrivateMemberAnnotationClass
Product
Profile1
Profile10
Profile11
Profile12
Profile13
Profile13694
Profile14
Profile15
Profile2
Profile3
Profile4
Profile5
Profile6
Profile7
Profile8
Profile9
ProfileDetails12
Q
Relation
SpecialBookLabel
SpecialOrder
SpecialPost7698
SRelated
StreetAddress
StyledProduct
TimestampAndMaxlength
TNAttrBase
TNAttrDerived
Toy
Two
UnicodeAnnotationClass
Unit1
Unit2
Unit3
Unit5
UselessBookDetails
User
User13694
DataAnnotationTestBase(TFixture)
Fixture
HasForeignKeyIndexes
TestHelpers
Annotation_in_derived_class_when_base_class_processed_after_derived_class()
Attribute_set_shadow_FK_name_is_preserved_with_HasPrincipalKey()
ConcurrencyCheckAttribute_throws_if_value_in_database_changed()
CreateContext()
CreateModelBuilder()
DatabaseGeneratedAttribute_autogenerates_values_when_set_to_identity()
DatabaseGeneratedOption_configures_the_property_correctly()
DatabaseGeneratedOption_Identity_does_not_throw_on_noninteger_properties()
Default_length_for_key_string_column()
Duplicate_column_order_is_ignored()
ExecuteWithStrategyInTransactionAsync(Func<DbContext, Task>)
ExecuteWithStrategyInTransactionAsync(Func<DbContext, Task>, Func<DbContext, Task>)
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_unmapped_base_type()
Field_annotations_are_enabled()
Fluent_API_relationship_throws_for_Keyless_attribute()
ForeignKey_to_ForeignKey_same_name_one_shadow()
ForeignKey_to_ForeignKey_same_name()
ForeignKey_to_ForeignKey()
ForeignKey_to_nothing()
ForeignKeyAttribute_configures_relationships_when_inverse_on_derived()
ForeignKeyAttribute_configures_two_self_referencing_relationships()
ForeignKeyAttribute_creates_two_relationships_if_applied_on_navigation_and_property_on_different_sides_and_values_do_not_match()
ForeignKeyAttribute_creates_two_relationships_if_applied_on_navigations_on_both_sides_and_values_do_not_match()
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_property_on_both_side_but_navigations_are_connected_by_inverse_property()
ForeignKeyAttribute_throws_if_applied_on_two_relationships_targetting_the_same_property()
GetProperty<TEntity>(IModel, String)
Inverse_and_self_ref_ForeignKey()
InverseProperty_with_case_sensitive_clr_property()
InverseProperty_with_potentially_ambigous_derived_types()
InversePropertyAttribute_from_ignored_base_can_be_ignored_to_remove_ambiguity()
InversePropertyAttribute_from_ignored_base_causes_ambiguity()
InversePropertyAttribute_is_noop_in_unambiguous_models()
InversePropertyAttribute_pointing_to_same_nav_on_base_causes_ambiguity()
InversePropertyAttribute_pointing_to_same_nav_on_base_with_one_ignored()
InversePropertyAttribute_pointing_to_same_skip_nav_on_base_causes_ambiguity()
InversePropertyAttribute_removes_ambiguity_from_the_ambiguous_end()
InversePropertyAttribute_removes_ambiguity_when_combined_with_other_attributes()
InversePropertyAttribute_removes_ambiguity_with_base_type_bidirectional()
InversePropertyAttribute_removes_ambiguity_with_base_type_ignored()
InversePropertyAttribute_removes_ambiguity_with_base_type()
InversePropertyAttribute_removes_ambiguity()
Key_and_column_work_together()
Key_and_MaxLength_64_produce_nvarchar_64()
Key_fluent_api_and_keyless_attribute_do_not_cause_warning()
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()
Key_on_nav_prop_is_ignored()
Key_property_is_not_used_for_FK_when_set_by_annotation()
Key_specified_on_multiple_properties_can_be_overridden()
Keyless_and_key_attributes_which_conflict_cause_warning()
Keyless_fluent_api_and_key_attribute_do_not_cause_warning()
MaxLength_with_length_takes_precedence_over_StringLength()
MaxLengthAttribute_throws_while_inserting_value_longer_than_max_length()
Multiple_self_ref_ForeignKey_and_Inverse()
Multiple_self_ref_ForeignKeys_on_navigations()
Multiple_self_ref_ForeignKeys_on_properties()
Non_public_annotations_are_enabled()
Nothing_to_ForeignKey()
Nothing_to_Required_and_ForeignKey()
NotMapped_on_abstract_base_class_property_ignores_it()
NotMapped_on_base_class_property_and_overridden_property_ignores_them()
NotMapped_on_base_class_property_discovered_through_navigation_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_overridden_property_is_ignored()
NotMapped_on_unmapped_base_class_property_and_overridden_property_ignores_it()
NotMapped_on_unmapped_base_class_property_ignores_it()
NotMapped_on_unmapped_derived_property_ignores_it()
NotMapped_should_propagate_down_inheritance_hierarchy()
NotMappedAttribute_ignores_entityType()
NotMappedAttribute_ignores_explicit_interface_implementation_property()
NotMappedAttribute_ignores_navigation()
NotMappedAttribute_ignores_property()
NotMappedAttribute_removes_ambiguity_in_relationship_building_with_base()
NotMappedAttribute_removes_ambiguity_in_relationship_building()
OwnedEntityTypeAttribute_configures_all_references_as_owned()
OwnedEntityTypeAttribute_configures_one_reference_as_owned()
PrecisionAttribute_sets_precision_for_properties_and_fields()
Required_and_ForeignKey_to_ForeignKey_can_be_overridden()
Required_and_ForeignKey_to_nothing()
Required_and_ForeignKey_to_Required_and_ForeignKey_can_be_overridden()
Required_and_ForeignKey_to_Required_and_ForeignKey()
Required_and_ForeignKey_to_Required()
Required_to_Nothing_inverted()
Required_to_Nothing()
Required_to_Required_and_ForeignKey()
RequiredAttribute_for_navigation_throws_while_inserting_null_value()
RequiredAttribute_for_property_throws_while_inserting_null_value()
Shared_ForeignKey_to_different_principals()
StringLength_with_value_takes_precedence_over_MaxLength()
StringLengthAttribute_throws_while_inserting_value_longer_than_max_length()
TableNameAttribute_affects_table_name_in_TPH()
Timestamp_takes_precedence_over_MaxLength()
TimestampAttribute_throws_if_value_in_database_changed()
UnicodeAttribute_sets_unicode_for_properties_and_fields()
UseTransaction(DatabaseFacade, IDbContextTransaction)
Validate(ModelBuilder)
net10.0-windows7.0
namespace Microsoft.EntityFrameworkCore
{
public abstract class DataAnnotationTestBase<TFixture> : IClassFixture<TFixture>
where TFixture, new(), DataAnnotationFixtureBase
{
[AsyncStateMachine(typeof(<MaxLengthAttribute_throws_while_inserting_value_longer_than_max_length>d__159))]
[ConditionalFact]
public virtual Task MaxLengthAttribute_throws_while_inserting_value_longer_than_max_length();
}
}
.NET | 9.010.0 |
---|---|
Information specific to net10.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.0 |
Information specific to net10.0-windows7.0 | |
Assembly | Microsoft.EntityFrameworkCore.Specification.Tests , Version=9.0.3.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.EntityFrameworkCore.Specification.Tests (9.0.3) net9.0 |
Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API