diff --git a/src/EFCore/Properties/CoreStrings.Designer.cs b/src/EFCore/Properties/CoreStrings.Designer.cs
index 1430118e861..b8363a294fa 100644
--- a/src/EFCore/Properties/CoreStrings.Designer.cs
+++ b/src/EFCore/Properties/CoreStrings.Designer.cs
@@ -25,7 +25,7 @@ private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.EntityFrameworkCore.Properties.CoreStrings", typeof(CoreStrings).Assembly);
///
- /// The corresponding CLR type for entity type '{entityType}' is not instantiable and there is no derived entity type in the model that corresponds to a concrete CLR type.
+ /// The corresponding CLR type for entity type '{entityType}' cannot be instantiated, and there is no derived entity type in the model that corresponds to a concrete CLR type.
///
public static string AbstractLeafEntityType([CanBeNull] object entityType)
=> string.Format(
@@ -41,7 +41,7 @@ public static string AddingProxyTypeAsEntityType([CanBeNull] object typeName)
typeName);
///
- /// The entity type '{entityType}' has a defining navigation and the supplied entity is currently referenced from several owner entities. To access the entry for a particular reference call '{targetEntryCall}' on the owner entry.
+ /// The entity type '{entityType}' has a defining navigation and the supplied entity is currently referenced from several owner entities. To access the entry for a particular reference, call '{targetEntryCall}' on the owner entry.
///
public static string AmbiguousDependentEntity([CanBeNull] object entityType, [CanBeNull] object targetEntryCall)
=> string.Format(
@@ -65,7 +65,7 @@ public static string AmbiguousEndRequiredDependentNavigation([CanBeNull] object
entityType, navigation, foreignKeyProperties);
///
- /// The foreign key {foreignKeyProperties} on entity type '{entityType}' cannot be flipped to entity type '{principalEntityType}' since it was configured as required before the dependent side was configured. Configure the foreign key property or the principal key before configuring the foreign key as required. See http://go.microsoft.com/fwlink/?LinkId=724062 for more details.
+ /// The foreign key {foreignKeyProperties} on entity type '{entityType}' cannot be inverted to entity type '{principalEntityType}' since it was configured as required before the dependent side was configured. Configure the foreign key property or the principal key before configuring the foreign key as required. See http://go.microsoft.com/fwlink/?LinkId=724062 for more details.
///
public static string AmbiguousEndRequiredInverted([CanBeNull] object foreignKeyProperties, [CanBeNull] object entityType, [CanBeNull] object principalEntityType)
=> string.Format(
@@ -73,7 +73,7 @@ public static string AmbiguousEndRequiredInverted([CanBeNull] object foreignKeyP
foreignKeyProperties, entityType, principalEntityType);
///
- /// Both relationships between '{firstDependentToPrincipalNavigationSpecification}' and '{firstPrincipalToDependentNavigationSpecification}' and between '{secondDependentToPrincipalNavigationSpecification}' and '{secondPrincipalToDependentNavigationSpecification}' could use {foreignKeyProperties} as the foreign key. To resolve this configure the foreign key properties explicitly in 'OnModelCreating' on at least one of the relationships.
+ /// Both relationships between '{firstDependentToPrincipalNavigationSpecification}' and '{firstPrincipalToDependentNavigationSpecification}' and between '{secondDependentToPrincipalNavigationSpecification}' and '{secondPrincipalToDependentNavigationSpecification}' could use {foreignKeyProperties} as the foreign key. To resolve this, configure the foreign key properties explicitly in 'OnModelCreating' on at least one of the relationships.
///
public static string AmbiguousForeignKeyPropertyCandidates([CanBeNull] object firstDependentToPrincipalNavigationSpecification, [CanBeNull] object firstPrincipalToDependentNavigationSpecification, [CanBeNull] object secondDependentToPrincipalNavigationSpecification, [CanBeNull] object secondPrincipalToDependentNavigationSpecification, [CanBeNull] object foreignKeyProperties)
=> string.Format(
@@ -81,7 +81,7 @@ public static string AmbiguousForeignKeyPropertyCandidates([CanBeNull] object fi
firstDependentToPrincipalNavigationSpecification, firstPrincipalToDependentNavigationSpecification, secondDependentToPrincipalNavigationSpecification, secondPrincipalToDependentNavigationSpecification, foreignKeyProperties);
///
- /// The dependent side could not be determined for the one-to-one relationship between '{dependentToPrincipalNavigationSpecification}' and '{principalToDependentNavigationSpecification}'. To identify the dependent side of the relationship, configure the foreign key property. If these navigations should not be part of the same relationship configure them independently via separate method chains in 'OnModelCreating'. See http://go.microsoft.com/fwlink/?LinkId=724062 for more details.
+ /// The dependent side could not be determined for the one-to-one relationship between '{dependentToPrincipalNavigationSpecification}' and '{principalToDependentNavigationSpecification}'. To identify the dependent side of the relationship, configure the foreign key property. If these navigations should not be part of the same relationship, configure them independently via separate method chains in 'OnModelCreating'. See http://go.microsoft.com/fwlink/?LinkId=724062 for more details.
///
public static string AmbiguousOneToOneRelationship([CanBeNull] object dependentToPrincipalNavigationSpecification, [CanBeNull] object principalToDependentNavigationSpecification)
=> string.Format(
@@ -89,7 +89,7 @@ public static string AmbiguousOneToOneRelationship([CanBeNull] object dependentT
dependentToPrincipalNavigationSpecification, principalToDependentNavigationSpecification);
///
- /// Unable to determine the owner for the relationship between '{entityTypeNavigationSpecification}' and '{otherEntityType}' as both types have been marked as owned. Either manually configure the ownership, or ignore the corresponding navigations using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
+ /// Unable to determine the owner for the relationship between '{entityTypeNavigationSpecification}' and '{otherEntityType}' as both types have been marked as owned. Either manually configure the ownership, or ignore the corresponding navigations using the [NotMapped] attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
///
public static string AmbiguousOwnedNavigation([CanBeNull] object entityTypeNavigationSpecification, [CanBeNull] object otherEntityType)
=> string.Format(
@@ -161,7 +161,7 @@ public static string BadFilterExpression([CanBeNull] object filter, [CanBeNull]
filter, entityType, clrType);
///
- /// The filter expression '{filter}' cannot be specified for owned entity type '{entityType}'. A filter may only be applied to the entity that is not owned.
+ /// The filter expression '{filter}' cannot be specified for owned entity type '{entityType}'. A filter may only be applied to an entity type that is not owned.
///
public static string BadFilterOwnedType([CanBeNull] object filter, [CanBeNull] object entityType)
=> string.Format(
@@ -199,13 +199,13 @@ public static string CannotBeNullablePK([CanBeNull] object property, [CanBeNull]
property, entityType);
///
- /// Unable to convert queryable method to enumerable method. This is likely an issue in Entity Framework, please file an issue at https://go.microsoft.com/fwlink/?linkid=2142044.
+ /// Unable to convert a queryable method to an enumerable method. This is likely an issue in Entity Framework, please file an issue at https://go.microsoft.com/fwlink/?linkid=2142044.
///
public static string CannotConvertQueryableToEnumerableMethod
=> GetString("CannotConvertQueryableToEnumerableMethod");
///
- /// Cannot create instance of value generator type '{generatorType}'. Ensure that the type is instantiable and has a parameterless constructor, or use the overload of HasValueGenerator that accepts a delegate.
+ /// Cannot create an instance of value generator type '{generatorType}'. Ensure that the type can be instantiated and has a parameterless constructor, or use the overload of 'HasValueGenerator' that accepts a delegate.
///
public static string CannotCreateValueGenerator([CanBeNull] object generatorType)
=> string.Format(
@@ -229,7 +229,7 @@ public static string CannotMarkShared([CanBeNull] object type)
type);
///
- /// Unable to create an instance of entity type '{entityType}' because it is abstract. Either make it non-abstract or consider mapping at least one derived type.
+ /// Unable to create an instance of entity type '{entityType}' because it is abstract. Consider making make it non-abstract or mapping at least one derived type.
///
public static string CannotMaterializeAbstractType([CanBeNull] object entityType)
=> string.Format(
@@ -237,7 +237,7 @@ public static string CannotMaterializeAbstractType([CanBeNull] object entityType
entityType);
///
- /// There is no navigation '{1_entityType}.{0_navigationName}'. Please add the navigation to the entity type before configuring it.
+ /// Navigation '{1_entityType}.{0_navigationName}' was not found. Please add the navigation to the entity type before configuring it.
///
public static string CanOnlyConfigureExistingNavigations([CanBeNull] object navigationName, [CanBeNull] object entityType)
=> string.Format(
@@ -245,7 +245,7 @@ public static string CanOnlyConfigureExistingNavigations([CanBeNull] object navi
navigationName, entityType);
///
- /// The entity type '{entityType}' is configured to use the '{changeTrackingStrategy}' change tracking strategy but does not implement the required '{notificationInterface}' interface. Implement '{notificationInterface}' on '{entityType}' or use a different change tracking strategy.
+ /// The entity type '{entityType}' is configured to use the '{changeTrackingStrategy}' change tracking strategy, but does not implement the required '{notificationInterface}' interface. Implement '{notificationInterface}' on '{entityType}' or use a different change tracking strategy.
///
public static string ChangeTrackingInterfaceMissing([CanBeNull] object entityType, [CanBeNull] object changeTrackingStrategy, [CanBeNull] object notificationInterface)
=> string.Format(
@@ -269,7 +269,7 @@ public static string CircularInheritance([CanBeNull] object entityType, [CanBeNu
entityType, baseEntityType);
///
- /// The shared-type entity type '{entityType}' cannot be added because the model already contains an entity type with the same name but a different CLR type '{otherClrType}'. Ensure all entity type names are unique.
+ /// The shared-type entity type '{entityType}' cannot be added because the model already contains an entity type with the same name, but with a different CLR type '{otherClrType}'. Ensure all entity type names are unique.
///
public static string ClashingMismatchedSharedType([CanBeNull] object entityType, [CanBeNull] object otherClrType)
=> string.Format(
@@ -277,7 +277,7 @@ public static string ClashingMismatchedSharedType([CanBeNull] object entityType,
entityType, otherClrType);
///
- /// There is already an entity type named '{ownedTypeName}'. Use a different name when configuring the ownership '{ownerEntityType}.{navigation}' in 'OnModelCreating'.
+ /// An entity type named '{ownedTypeName}' has already been added to the model. Use a different name when configuring the ownership '{ownerEntityType}.{navigation}' in 'OnModelCreating'.
///
public static string ClashingNamedOwnedType([CanBeNull] object ownedTypeName, [CanBeNull] object ownerEntityType, [CanBeNull] object navigation)
=> string.Format(
@@ -285,7 +285,7 @@ public static string ClashingNamedOwnedType([CanBeNull] object ownedTypeName, [C
ownedTypeName, ownerEntityType, navigation);
///
- /// The type '{entityType}' cannot be marked as owned because the derived entity type - '{derivedType}' has been configured as non-owned. Either don't configure '{derivedType}' as non-owned or call 'HasBaseType(null)' for it in 'OnModelCreating'.
+ /// The type '{entityType}' cannot be marked as owned because the derived entity type '{derivedType}' has been configured as non-owned. Either don't configure '{derivedType}' as non-owned, or call 'HasBaseType(null)' for it in 'OnModelCreating'.
///
public static string ClashingNonOwnedDerivedEntityType([CanBeNull] object entityType, [CanBeNull] object derivedType)
=> string.Format(
@@ -341,7 +341,7 @@ public static string ClashingWeakEntityType([CanBeNull] object entityType)
entityType);
///
- /// The client projection contains a reference to a constant expression of '{constantType}' which is being passed as an argument to the method '{methodName}'. This could potentially cause a memory leak. Consider assigning this constant to a local variable and using the variable in the query instead. See https://go.microsoft.com/fwlink/?linkid=2103067 for more information.
+ /// The client projection contains a reference to a constant expression of '{constantType}' which is being passed as an argument to the method '{methodName}'. This could potentially cause a memory leak; consider assigning this constant to a local variable and using the variable in the query instead. See https://go.microsoft.com/fwlink/?linkid=2103067 for more information.
///
public static string ClientProjectionCapturingConstantInMethodArgument([CanBeNull] object constantType, [CanBeNull] object methodName)
=> string.Format(
@@ -349,7 +349,7 @@ public static string ClientProjectionCapturingConstantInMethodArgument([CanBeNul
constantType, methodName);
///
- /// The client projection contains a reference to a constant expression of '{constantType}' through the instance method '{methodName}'. This could potentially cause a memory leak. Consider making the method static so that it does not capture constant in the instance. See https://go.microsoft.com/fwlink/?linkid=2103067 for more information.
+ /// The client projection contains a reference to a constant expression of '{constantType}' through the instance method '{methodName}'. This could potentially cause a memory leak; consider making the method static so that it does not capture constant in the instance. See https://go.microsoft.com/fwlink/?linkid=2103067 for more information.
///
public static string ClientProjectionCapturingConstantInMethodInstance([CanBeNull] object constantType, [CanBeNull] object methodName)
=> string.Format(
@@ -357,7 +357,7 @@ public static string ClientProjectionCapturingConstantInMethodInstance([CanBeNul
constantType, methodName);
///
- /// The client projection contains a reference to a constant expression of '{constantType}'. This could potentially cause a memory leak. Consider assigning this constant to a local variable and using the variable in the query instead. See https://go.microsoft.com/fwlink/?linkid=2103067 for more information.
+ /// The client projection contains a reference to a constant expression of '{constantType}'. This could potentially cause a memory leak; consider assigning this constant to a local variable and using the variable in the query instead. See https://go.microsoft.com/fwlink/?linkid=2103067 for more information.
///
public static string ClientProjectionCapturingConstantInTree([CanBeNull] object constantType)
=> string.Format(
@@ -381,7 +381,7 @@ public static string CollectionIsReference([CanBeNull] object property, [CanBeNu
property, entityType, collectionMethod, referenceMethod);
///
- /// Comparer for type '{type}' cannot be used for '{entityType}.{propertyName}' because its type is '{propertyType}'.
+ /// The comparer for type '{type}' cannot be used for '{entityType}.{propertyName}' because its type is '{propertyType}'.
///
public static string ComparerPropertyMismatch([CanBeNull] object type, [CanBeNull] object entityType, [CanBeNull] object propertyName, [CanBeNull] object propertyType)
=> string.Format(
@@ -389,7 +389,7 @@ public static string ComparerPropertyMismatch([CanBeNull] object type, [CanBeNul
type, entityType, propertyName, propertyType);
///
- /// There are multiple properties with [ForeignKey] attribute pointing to navigation '{1_entityType}.{0_navigation}'. To define a composite foreign key using data annotations, use [ForeignKey] attribute on navigation.
+ /// There are multiple properties with the [ForeignKey] attribute pointing to navigation '{1_entityType}.{0_navigation}'. To define a composite foreign key using data annotations, use the [ForeignKey] attribute on the navigation.
///
public static string CompositeFkOnProperty([CanBeNull] object navigation, [CanBeNull] object entityType)
=> string.Format(
@@ -397,7 +397,7 @@ public static string CompositeFkOnProperty([CanBeNull] object navigation, [CanBe
navigation, entityType);
///
- /// Entity type '{entityType}' has multiple properties with the [Key] attribute. Composite primary keys can only be set using 'HasKey' in 'OnModelCreating'.
+ /// The entity type '{entityType}' has multiple properties with the [Key] attribute. Composite primary keys can only be set using 'HasKey' in 'OnModelCreating'.
///
public static string CompositePKWithDataAnnotation([CanBeNull] object entityType)
=> string.Format(
@@ -405,7 +405,7 @@ public static string CompositePKWithDataAnnotation([CanBeNull] object entityType
entityType);
///
- /// A second operation started on this context before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
+ /// A second operation was started on this context before a previous operation completed. This is usually caused by different threads concurrently using the same instance of DbContext. For more information on how to avoid threading issues with DbContext, see https://go.microsoft.com/fwlink/?linkid=2097913.
///
public static string ConcurrentMethodInvocation
=> GetString("ConcurrentMethodInvocation");
@@ -419,7 +419,7 @@ public static string ConflictingBackingFields([CanBeNull] object property, [CanB
property, entityType, field1, field2);
///
- /// There are multiple [ForeignKey] attributes which are pointing to same set of properties - '{propertyList}' on entity type '{entityType}'.
+ /// There are multiple [ForeignKey] attributes which are pointing to same set of properties '{propertyList}' on entity type '{entityType}'.
///
public static string ConflictingForeignKeyAttributes([CanBeNull] object propertyList, [CanBeNull] object entityType)
=> string.Format(
@@ -435,7 +435,7 @@ public static string ConflictingPropertyOrNavigation([CanBeNull] object member,
member, entityType, conflictingEntityType);
///
- /// Cannot create a relationship between '{newPrincipalNavigationSpecification}' and '{newDependentNavigationSpecification}', because there already is a relationship between '{existingPrincipalNavigationSpecification}' and '{existingDependentNavigationSpecification}'. Navigation can only participate in a single relationship. If you want to override an existing relationship call 'Ignore' on the navigation '{newDependentNavigationSpecification}' first in 'OnModelCreating'.
+ /// Cannot create a relationship between '{newPrincipalNavigationSpecification}' and '{newDependentNavigationSpecification}' because a relationship already exists between '{existingPrincipalNavigationSpecification}' and '{existingDependentNavigationSpecification}'. Navigation properties can only participate in a single relationship. If you want to override an existing relationship call 'Ignore' on the navigation '{newDependentNavigationSpecification}' first in 'OnModelCreating'.
///
public static string ConflictingRelationshipNavigation([CanBeNull] object newPrincipalNavigationSpecification, [CanBeNull] object newDependentNavigationSpecification, [CanBeNull] object existingPrincipalNavigationSpecification, [CanBeNull] object existingDependentNavigationSpecification)
=> string.Format(
@@ -451,7 +451,7 @@ public static string ConstructorBindingFailed([CanBeNull] object failedBinds, [C
failedBinds, parameters);
///
- /// The constructors '{firstConstructor}' and '{secondConstructor}' were found with the same number of parameters that could both be used by Entity Framework. The constructor to use must be configured in 'OnModelCreating'.
+ /// The constructors '{firstConstructor}' and '{secondConstructor}' have the same number of parameters, and can both be used by Entity Framework. The constructor to be used must be configured in 'OnModelCreating'.
///
public static string ConstructorConflict([CanBeNull] object firstConstructor, [CanBeNull] object secondConstructor)
=> string.Format(
@@ -495,7 +495,7 @@ public static string ConverterPropertyMismatch([CanBeNull] object converterType,
converterType, entityType, propertyName, propertyType);
///
- /// Cannot compose converter from '{typeOneIn}' to '{typeOneOut}' with converter from '{typeTwoIn}' to '{typeTwoOut}' because the output type of the first converter is different from the input type of the second converter.
+ /// Cannot compose converter from '{typeOneIn}' to '{typeOneOut}' with converter from '{typeTwoIn}' to '{typeTwoOut}' because the output type of the first converter doesn't match the input type of the second converter.
///
public static string ConvertersCannotBeComposed([CanBeNull] object typeOneIn, [CanBeNull] object typeOneOut, [CanBeNull] object typeTwoIn, [CanBeNull] object typeTwoOut)
=> string.Format(
@@ -503,7 +503,7 @@ public static string ConvertersCannotBeComposed([CanBeNull] object typeOneIn, [C
typeOneIn, typeOneOut, typeTwoIn, typeTwoOut);
///
- /// The extension method '{method}' is being used with a custom implementation of '{interfaceType}'. Use of custom implementations of the Entity Framework metadata interfaces is not supported. Consider deriving from '{concreteType}' instead. Please contact the Entity Framework team if you have a compelling case for a custom implementation of the metadata interfaces so that we can consider ways to achieve this.
+ /// The extension method '{method}' is being used with a custom implementation of '{interfaceType}'. Use of custom implementations of the Entity Framework metadata interfaces is not supported, consider deriving from '{concreteType}' instead. Please contact the Entity Framework team if you have a compelling case for a custom implementation of the metadata interfaces so that we can consider ways to achieve this.
///
public static string CustomMetadata([CanBeNull] object method, [CanBeNull] object interfaceType, [CanBeNull] object concreteType)
=> string.Format(
@@ -511,13 +511,13 @@ public static string CustomMetadata([CanBeNull] object method, [CanBeNull] objec
method, interfaceType, concreteType);
///
- /// Data binding directly to 'DbSet.Local' is not supported since it does not provide a stable ordering. For WPF bind to 'DbSet.Local.ToObservableCollection'. For WinForms bind to 'DbSet.Local.ToBindingList'. For ASP.NET WebForms bind to 'DbSet.ToList' or use Model Binding.
+ /// Data binding directly to 'DbSet.Local' is not supported since it does not provide a stable ordering. For WPF, bind to 'DbSet.Local.ToObservableCollection'. For WinForms, bind to 'DbSet.Local.ToBindingList'. For ASP.NET WebForms, bind to 'DbSet.ToList' or use Model Binding.
///
public static string DataBindingToLocalWithIListSource
=> GetString("DataBindingToLocalWithIListSource");
///
- /// Data binding directly to a store query is not supported. Instead populate a DbSet with data, for example by calling 'Load' on the DbSet, and then bind to local data to avoid sending a query to the database each time the databound control iterates the data. For WPF bind to 'DbSet.Local.ToObservableCollection'. For WinForms bind to 'DbSet.Local.ToBindingList'. For ASP.NET WebForms bind to 'DbSet.ToList' or use Model Binding.
+ /// Data binding directly to a store query is not supported. Instead populate a DbSet with data, for example by calling 'Load' on the DbSet, and then bind to local data to avoid sending a query to the database each time the databound control iterates the data. For WPF, bind to 'DbSet.Local.ToObservableCollection'. For WinForms, bind to 'DbSet.Local.ToBindingList'. For ASP.NET WebForms, bind to 'DbSet.ToList' or use Model Binding.
///
public static string DataBindingWithIListSource
=> GetString("DataBindingWithIListSource");
@@ -563,7 +563,7 @@ public static string DerivedEntityCannotHaveKeys([CanBeNull] object entityType)
entityType);
///
- /// A '{derivedType}' cannot be configured as keyless because it is a derived type. The root type '{rootType}' must be configured as keyless. If you did not intend for '{rootType}' to be included in the model, ensure that it is not referenced by a DbSet property on your context, referenced in a configuration call to ModelBuilder in 'OnModelCreating', or referenced from a navigation on a type that is included in the model.
+ /// '{derivedType}' cannot be configured as keyless because it is a derived type; the root type '{rootType}' must be configured as keyless instead. If you did not intend for '{rootType}' to be included in the model, ensure that it is not referenced by a DbSet property on your context, referenced in a configuration call to ModelBuilder in 'OnModelCreating', or referenced from a navigation on a type that is included in the model.
///
public static string DerivedEntityTypeHasNoKey([CanBeNull] object derivedType, [CanBeNull] object rootType)
=> string.Format(
@@ -611,7 +611,7 @@ public static string DiscriminatorPropertyNotFound([CanBeNull] object property,
property, entityType);
///
- /// Cannot set discriminator value '{value}' for discriminator property '{discriminator}' because it is not assignable to '{discriminatorType}'.
+ /// Cannot set discriminator value '{value}' for discriminator property '{discriminator}' because it is not assignable to type '{discriminatorType}'.
///
public static string DiscriminatorValueIncompatible([CanBeNull] object value, [CanBeNull] object discriminator, [CanBeNull] object discriminatorType)
=> string.Format(
@@ -627,7 +627,7 @@ public static string DuplicateAnnotation([CanBeNull] object annotation)
annotation);
///
- /// The discriminator value for '{entityType1}' is '{discriminatorValue}' which is the same for '{entityType2}'. Every concrete entity type in the hierarchy needs to have a unique discriminator value.
+ /// The discriminator value for '{entityType1}' is '{discriminatorValue}' which is the same for '{entityType2}'. Every concrete entity type in the hierarchy must have a unique discriminator value.
///
public static string DuplicateDiscriminatorValue([CanBeNull] object entityType1, [CanBeNull] object discriminatorValue, [CanBeNull] object entityType2)
=> string.Format(
@@ -683,7 +683,7 @@ public static string DuplicatePropertiesOnBase([CanBeNull] object entityType, [C
entityType, baseType, derivedPropertyType, derivedProperty, basePropertyType, baseProperty);
///
- /// The properties {propertyList} cannot be used, because they contain a duplicate - '{property}'.
+ /// The properties {propertyList} cannot be used, because they contain a duplicate: '{property}'.
///
public static string DuplicatePropertyInList([CanBeNull] object propertyList, [CanBeNull] object property)
=> string.Format(
@@ -699,7 +699,7 @@ public static string DuplicateServicePropertyType([CanBeNull] object property, [
property, serviceType, entityType, duplicateName, duplicateEntityType);
///
- /// Cannot translate the '{comparisonOperator}' on a subquery expression of entity type '{entityType}' because it has a composite primary key. See https://go.microsoft.com/fwlink/?linkid=2141942 for information on how to rewrite your query.
+ /// Cannot translate '{comparisonOperator}' on a subquery expression of entity type '{entityType}' because it has a composite primary key. See https://go.microsoft.com/fwlink/?linkid=2141942 for information on how to rewrite your query.
///
public static string EntityEqualityOnCompositeKeyEntitySubqueryNotSupported([CanBeNull] object comparisonOperator, [CanBeNull] object entityType)
=> string.Format(
@@ -715,7 +715,7 @@ public static string EntityEqualityOnKeylessEntityNotSupported([CanBeNull] objec
comparisonOperator, entityType);
///
- /// The entity type '{entityType}' requires a primary key to be defined. If you intended to use a keyless entity type call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
+ /// The entity type '{entityType}' requires a primary key to be defined. If you intended to use a keyless entity type, call 'HasNoKey' in 'OnModelCreating'. For more information on keyless entity types, see https://go.microsoft.com/fwlink/?linkid=2141943.
///
public static string EntityRequiresKey([CanBeNull] object entityType)
=> string.Format(
@@ -763,7 +763,7 @@ public static string EntityTypeNotFound([CanBeNull] object entityType)
entityType);
///
- /// The specified entity type '{entityType}' is invalid. It should be either the dependent entity type '{dependentType}' or the principal entity type '{principalType}' or an entity type derived from one of them.
+ /// The specified entity type '{entityType}' is invalid. It must be the dependent entity type '{dependentType}', the principal entity type '{principalType}' or an entity type derived from one of them.
///
public static string EntityTypeNotInRelationship([CanBeNull] object entityType, [CanBeNull] object dependentType, [CanBeNull] object principalType)
=> string.Format(
@@ -771,7 +771,7 @@ public static string EntityTypeNotInRelationship([CanBeNull] object entityType,
entityType, dependentType, principalType);
///
- /// The specified entity type '{entityType}' is invalid. It should be either the dependent entity type '{dependentType}' or the principal entity type '{principalType}'.
+ /// The specified entity type '{entityType}' is invalid. It must be either the dependent entity type '{dependentType}' or the principal entity type '{principalType}'.
///
public static string EntityTypeNotInRelationshipStrict([CanBeNull] object entityType, [CanBeNull] object dependentType, [CanBeNull] object principalType)
=> string.Format(
@@ -779,7 +779,7 @@ public static string EntityTypeNotInRelationshipStrict([CanBeNull] object entity
entityType, dependentType, principalType);
///
- /// The specified entity types '{invalidDependentType}' and '{invalidPrincipalType}' are invalid. They should be '{dependentType}' and '{principalType}' or entity types in the same hierarchy.
+ /// The specified entity types '{invalidDependentType}' and '{invalidPrincipalType}' are invalid. They should be '{dependentType}' and '{principalType}', or entity types in the same hierarchy.
///
public static string EntityTypesNotInRelationship([CanBeNull] object invalidDependentType, [CanBeNull] object invalidPrincipalType, [CanBeNull] object dependentType, [CanBeNull] object principalType)
=> string.Format(
@@ -801,7 +801,7 @@ public static string ErrorMaterializingPropertyInvalidCast([CanBeNull] object en
entityType, property, expectedType, actualType);
///
- /// The configured execution strategy '{strategy}' does not support user initiated transactions. Use the execution strategy returned by '{getExecutionStrategyMethod}' to execute all the operations in the transaction as a retriable unit.
+ /// The configured execution strategy '{strategy}' does not support user-initiated transactions. Use the execution strategy returned by '{getExecutionStrategyMethod}' to execute all the operations in the transaction as a retriable unit.
///
public static string ExecutionStrategyExistingTransaction([CanBeNull] object strategy, [CanBeNull] object getExecutionStrategyMethod)
=> string.Format(
@@ -863,7 +863,7 @@ public static string FkAttributeOnNonUniquePrincipal([CanBeNull] object navigati
navigation, principalType, dependentType);
///
- /// The [ForeignKey] attributes on property '{property}' and navigation '{navigation}' in entity type '{entityType}' do not point at each other. The value of [ForeignKey] attribute on property should be navigation name and the value of [ForeignKey] attribute on navigation should be the foreign key property name.
+ /// The [ForeignKey] attributes on property '{property}' and navigation '{navigation}' in entity type '{entityType}' do not point at each other. The value of the [ForeignKey] attribute on the property should be navigation name, and the value of the [ForeignKey] attribute on the navigation should be the foreign key property name.
///
public static string FkAttributeOnPropertyNavigationMismatch([CanBeNull] object property, [CanBeNull] object navigation, [CanBeNull] object entityType)
=> string.Format(
@@ -879,7 +879,7 @@ public static string ForeignKeyCountMismatch([CanBeNull] object foreignKeyProper
foreignKeyProperties, dependentType, principalKey, principalType);
///
- /// Cannot remove foreign key {foreigKey} from entity type '{entityType}' because it is referenced by a skip navigation '{navigation}' on entity type '{navigationEntityType}'. All referencing skip navigation must be removed before the referenced foreign key can be removed.
+ /// Cannot remove the foreign key {foreigKey} from entity type '{entityType}' because it is referenced by a skip navigation '{navigation}' on entity type '{navigationEntityType}'. All referencing skip navigation must be removed before the referenced foreign key can be removed.
///
public static string ForeignKeyInUseSkipNavigation([CanBeNull] object foreigKey, [CanBeNull] object entityType, [CanBeNull] object navigation, [CanBeNull] object navigationEntityType)
=> string.Format(
@@ -887,7 +887,7 @@ public static string ForeignKeyInUseSkipNavigation([CanBeNull] object foreigKey,
foreigKey, entityType, navigation, navigationEntityType);
///
- /// The specified foreign key properties {foreignKeyProperties} are not declared on the entity type '{entityType}'. Ensure foreign key properties are declared on the target entity type.
+ /// The specified foreign key properties {foreignKeyProperties} are not declared on the entity type '{entityType}'. Ensure that foreign key properties are declared on the target entity type.
///
public static string ForeignKeyPropertiesWrongEntity([CanBeNull] object foreignKeyProperties, [CanBeNull] object entityType)
=> string.Format(
@@ -981,7 +981,7 @@ public static string IdentityConflict([CanBeNull] object entityType, [CanBeNull]
entityType, keyProperties);
///
- /// The instance of entity type '{entityType}' cannot be tracked because another instance with the same key value for {keyProperties} is already being tracked. When replacing owned entities modify the properties without changing the instance or detach the previous owned entity entry first. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values.
+ /// The instance of entity type '{entityType}' cannot be tracked because another instance with the same key value for {keyProperties} is already being tracked. When replacing owned entities, modify the properties without changing the instance or detach the previous owned entity entry first. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values.
///
public static string IdentityConflictOwned([CanBeNull] object entityType, [CanBeNull] object keyProperties)
=> string.Format(
@@ -989,7 +989,7 @@ public static string IdentityConflictOwned([CanBeNull] object entityType, [CanBe
entityType, keyProperties);
///
- /// The instance of entity type '{entityType}' cannot be tracked because another instance with the key value '{keyValue}' is already being tracked. When replacing owned entities modify the properties without changing the instance or detach the previous owned entity entry first.
+ /// The instance of entity type '{entityType}' cannot be tracked because another instance with the key value '{keyValue}' is already being tracked. When replacing owned entities, modify the properties without changing the instance or detach the previous owned entity entry first.
///
public static string IdentityConflictOwnedSensitive([CanBeNull] object entityType, [CanBeNull] object keyValue)
=> string.Format(
@@ -1019,7 +1019,7 @@ public static string ImplementationTypeRequired([CanBeNull] object service)
service);
///
- /// Include is not supported for entities with defining query. Entity type: '{entityType}'
+ /// 'Include' is not supported on entity type '{entityType}' because it has a defining query.
///
[Obsolete]
public static string IncludeOnEntityWithDefiningQueryNotSupported([CanBeNull] object entityType)
@@ -1028,13 +1028,13 @@ public static string IncludeOnEntityWithDefiningQueryNotSupported([CanBeNull] ob
entityType);
///
- /// Include has been used on non entity queryable.
+ /// Include has been used on a non-entity queryable.
///
public static string IncludeOnNonEntity
=> GetString("IncludeOnNonEntity");
///
- /// The Include path '{navigationName}->{inverseNavigationName}' results in a cycle. Cycles are not allowed in no-tracking queries. Either use a tracking query or remove the cycle.
+ /// The Include path '{navigationName}->{inverseNavigationName}' results in a cycle. Cycles are not allowed in no-tracking queries; either use a tracking query or remove the cycle.
///
public static string IncludeWithCycle([CanBeNull] object navigationName, [CanBeNull] object inverseNavigationName)
=> string.Format(
@@ -1058,7 +1058,7 @@ public static string InconsistentOwnership([CanBeNull] object ownedEntityType, [
ownedEntityType, nonOwnedEntityType);
///
- /// The specified index properties {index} are not declared on the entity type '{entityType}'. Ensure index properties are declared on the target entity type.
+ /// The specified index properties {index} are not declared on the entity type '{entityType}'. Ensure that index properties are declared on the target entity type.
///
public static string IndexPropertiesWrongEntity([CanBeNull] object index, [CanBeNull] object entityType)
=> string.Format(
@@ -1074,7 +1074,7 @@ public static string IndexWrongType([CanBeNull] object indexProperties, [CanBeNu
indexProperties, entityType, otherEntityType);
///
- /// The property '{property}' cannot be ignored on entity type '{entityType}', because it's declared on the base entity type '{baseEntityType}'. To exclude this property from your model, use [NotMapped] attribute or 'EntityTypeBuilder.Ignore' on the base type in 'OnModelCreating'.
+ /// The property '{property}' cannot be ignored on entity type '{entityType}' because it's declared on the base entity type '{baseEntityType}'. To exclude this property from your model, use the [NotMapped] attribute or 'EntityTypeBuilder.Ignore' on the base type in 'OnModelCreating'.
///
public static string InheritedPropertyCannotBeIgnored([CanBeNull] object property, [CanBeNull] object entityType, [CanBeNull] object baseEntityType)
=> string.Format(
@@ -1082,7 +1082,7 @@ public static string InheritedPropertyCannotBeIgnored([CanBeNull] object propert
property, entityType, baseEntityType);
///
- /// The property '{entityType}.{navigation}' is of an interface type ('{propertyType}'). If it is a navigation manually configure the relationship for this property by casting it to a mapped entity type, otherwise ignore the property using the [NotMapped] attribute or 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
+ /// The property '{entityType}.{navigation}' is of an interface type ('{propertyType}'). If it is a navigation, manually configure the relationship for this property by casting it to a mapped entity type. Otherwise, ignore the property using the [NotMapped] attribute or 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
///
public static string InterfacePropertyNotAdded([CanBeNull] object entityType, [CanBeNull] object navigation, [CanBeNull] object propertyType)
=> string.Format(
@@ -1090,7 +1090,7 @@ public static string InterfacePropertyNotAdded([CanBeNull] object entityType, [C
entityType, navigation, propertyType);
///
- /// The entity type related to '{entityType}' cannot be determined because the specified foreign key {foreignKeyProperties} references entity type '{principalEntityType}' that it is in the same hierarchy as the entity type that it is declared on '{dependentEntityType}'.
+ /// The entity type related to '{entityType}' cannot be determined because the specified foreign key {foreignKeyProperties} references entity type '{principalEntityType}', which is in the same hierarchy as the entity type which is declared on '{dependentEntityType}'.
///
public static string IntraHierarchicalAmbiguousTargetEntityType([CanBeNull] object entityType, [CanBeNull] object foreignKeyProperties, [CanBeNull] object principalEntityType, [CanBeNull] object dependentEntityType)
=> string.Format(
@@ -1098,7 +1098,7 @@ public static string IntraHierarchicalAmbiguousTargetEntityType([CanBeNull] obje
entityType, foreignKeyProperties, principalEntityType, dependentEntityType);
///
- /// Unable to track an entity of type '{entityType}' because alternate key property '{keyProperty}' is null. If the alternate key is not used in a relationship, then consider using a unique index instead. Unique indexes may contain nulls, while alternate keys must not.
+ /// Unable to track an entity of type '{entityType}' because alternate key property '{keyProperty}' is null. If the alternate key is not used in a relationship, then consider using a unique index instead. Unique indexes may contain nulls, while alternate keys may not.
///
public static string InvalidAlternateKeyValue([CanBeNull] object entityType, [CanBeNull] object keyProperty)
=> string.Format(
@@ -1122,7 +1122,7 @@ public static string InvalidEnumValue([CanBeNull] object argumentName, [CanBeNul
argumentName, enumType);
///
- /// The expression '{expression}' is invalid inside Include operation. The expression should represent a property access: 't => t.MyProperty'. To target navigations declared on derived types use cast, e.g. 't => ((Derived)t).MyProperty' or 'as' operator, e.g. 't => (t as Derived).MyProperty'. Collection navigation access can be filtered by composing Where, OrderBy(Descending), ThenBy(Descending), Skip or Take operations. For more information on including related data, see http://go.microsoft.com/fwlink/?LinkID=746393.
+ /// The expression '{expression}' is invalid inside an Include operation, since it does not represent a property access: 't => t.MyProperty'. To target navigations declared on derived types, use casting ('t => ((Derived)t).MyProperty') or the 'as' operator ('t => (t as Derived).MyProperty'). Collection navigation access can be filtered by composing Where, OrderBy(Descending), ThenBy(Descending), Skip or Take operations. For more information on including related data, see http://go.microsoft.com/fwlink/?LinkID=746393.
///
public static string InvalidIncludeExpression([CanBeNull] object expression)
=> string.Format(
@@ -1130,7 +1130,7 @@ public static string InvalidIncludeExpression([CanBeNull] object expression)
expression);
///
- /// Unable to track an entity of type '{entityType}' because primary key property '{keyProperty}' is null.
+ /// Unable to track an entity of type '{entityType}' because its primary key property '{keyProperty}' is null.
///
public static string InvalidKeyValue([CanBeNull] object entityType, [CanBeNull] object keyProperty)
=> string.Format(
@@ -1138,7 +1138,7 @@ public static string InvalidKeyValue([CanBeNull] object entityType, [CanBeNull]
entityType, keyProperty);
///
- /// Lambda expression used inside 'Include' is not valid.
+ /// The lambda expression used inside 'Include' is not valid.
///
public static string InvalidLambdaExpressionInsideInclude
=> GetString("InvalidLambdaExpressionInsideInclude");
@@ -1158,7 +1158,7 @@ public static string InvalidMemberInitBinding
=> GetString("InvalidMemberInitBinding");
///
- /// The expression '{expression}' is not a valid members access expression. The expression should represent a simple property or field access: 't => t.MyProperty'. When specifying multiple properties or fields use an anonymous type: 't => new {{ t.MyProperty, t.MyField }}'.
+ /// The expression '{expression}' is not a valid member access expression. The expression should represent a simple property or field access: 't => t.MyProperty'. When specifying multiple properties or fields, use an anonymous type: 't => new {{ t.MyProperty, t.MyField }}'.
///
public static string InvalidMembersExpression([CanBeNull] object expression)
=> string.Format(
@@ -1180,7 +1180,7 @@ public static string InvalidPoolSize
=> GetString("InvalidPoolSize");
///
- /// The properties expression '{expression}' is not valid. The expression should represent a simple property access: 't => t.MyProperty'. When specifying multiple properties use an anonymous type: 't => new {{ t.MyProperty1, t.MyProperty2 }}'.
+ /// The properties expression '{expression}' is invalid. The expression should represent a simple property access: 't => t.MyProperty'. When specifying multiple properties, use an anonymous type: 't => new {{ t.MyProperty1, t.MyProperty2 }}'.
///
[Obsolete]
public static string InvalidPropertiesExpression([CanBeNull] object expression)
@@ -1206,7 +1206,7 @@ public static string InvalidPropertyListOnNavigation([CanBeNull] object navigati
navigation, entityType);
///
- /// Invalid relationship has been specified using [InverseProperty] attribute and [ForeignKey] attribute. The navigation '{1_entityType}.{0_navigation}' and the navigation '{3_referencedEntityType}.{2_referencedNavigation}' are related by [InverseProperty] attribute but the [ForeignKey] attribute specified for both navigations have different values.
+ /// An invalid relationship has been specified using the [InverseProperty] and [ForeignKey] attributes. The navigations '{1_entityType}.{0_navigation}' and '{3_referencedEntityType}.{2_referencedNavigation}' are related by the [InverseProperty] attribute, but the [ForeignKey] attribute specified for both navigations have different values.
///
public static string InvalidRelationshipUsingDataAnnotations([CanBeNull] object navigation, [CanBeNull] object entityType, [CanBeNull] object referencedNavigation, [CanBeNull] object referencedEntityType)
=> string.Format(
@@ -1230,7 +1230,7 @@ public static string InvalidSetKeylessOperation([CanBeNull] object entityType)
entityType);
///
- /// Cannot create a DbSet for '{typeName}' because it is configured as an shared type entity type and should be accessed through entity type name based Set method.
+ /// Cannot create a DbSet for '{typeName}' because it is configured as an shared type entity type. Access the entity type via the `Set` method overload that accepts an entity type name.
///
public static string InvalidSetSharedType([CanBeNull] object typeName)
=> string.Format(
@@ -1246,7 +1246,7 @@ public static string InvalidSetType([CanBeNull] object typeName)
typeName);
///
- /// Cannot create a DbSet for '{typeName}' because it is configured as an owned entity type and should be accessed through the defining entities.
+ /// Cannot create a DbSet for '{typeName}' because it is configured as an owned entity type and must be accessed through its owning entity type.
///
public static string InvalidSetTypeOwned([CanBeNull] object typeName)
=> string.Format(
@@ -1254,7 +1254,7 @@ public static string InvalidSetTypeOwned([CanBeNull] object typeName)
typeName);
///
- /// Cannot create a DbSet for '{typeName}' because it is mapped to multiple entity types and should be accessed through the defining entities.
+ /// Cannot create a DbSet for '{typeName}' because it is mapped to multiple entity types and should be accessed through the owning entities.
///
public static string InvalidSetTypeWeak([CanBeNull] object typeName)
=> string.Format(
@@ -1278,7 +1278,7 @@ public static string InvalidType([CanBeNull] object property, [CanBeNull] object
property, entityType, valueType, propertyType);
///
- /// Invalid type conversion specified in 'Include' call.
+ /// Invalid type conversion specified in an 'Include' operation.
///
public static string InvalidTypeConversationWithInclude
=> GetString("InvalidTypeConversationWithInclude");
@@ -1330,7 +1330,7 @@ public static string IQueryableProviderNotAsync
=> GetString("IQueryableProviderNotAsync");
///
- /// The derived type '{derivedType}' cannot have [Key] attribute on property '{property}' since primary key can only be declared on the root type.
+ /// The derived type '{derivedType}' cannot have the [Key] attribute on property '{property}' since primary keys may only be declared on the root type.
///
public static string KeyAttributeOnDerivedEntity([CanBeNull] object derivedType, [CanBeNull] object property)
=> string.Format(
@@ -1378,7 +1378,7 @@ public static string KeyPropertiesWrongEntity([CanBeNull] object keyProperties,
keyProperties, entityType);
///
- /// The property '{1_entityType}.{0_property}' cannot be marked as nullable/optional because it has been included in a key {keyProperties}.
+ /// The property '{1_entityType}.{0_property}' cannot be marked as nullable/optional because it has been included in the key {keyProperties}.
///
public static string KeyPropertyCannotBeNullable([CanBeNull] object property, [CanBeNull] object entityType, [CanBeNull] object keyProperties)
=> string.Format(
@@ -1394,7 +1394,7 @@ public static string KeyPropertyMustBeReadOnly([CanBeNull] object property, [Can
property, entityType);
///
- /// The property '{1_entityType}.{0_property}' is part of a key and so cannot be modified or marked as modified. To change the principal of an existing entity with an identifying foreign key first delete the dependent and invoke 'SaveChanges' then associate the dependent with the new principal.
+ /// The property '{1_entityType}.{0_property}' is part of a key and so cannot be modified or marked as modified. To change the principal of an existing entity with an identifying foreign key, first delete the dependent and invoke 'SaveChanges', and then associate the dependent with the new principal.
///
public static string KeyReadOnly([CanBeNull] object property, [CanBeNull] object entityType)
=> string.Format(
@@ -1426,7 +1426,7 @@ public static string MissingBackingField([CanBeNull] object field, [CanBeNull] o
field, property, entityType);
///
- /// Unable to set up a many-to-many relationship between the entity types '{principalEntityType}' and '{declaringEntityType}' because one of the navigations was not specified. Please provide a navigation in the 'HasMany()' call in 'OnModelCreating'.
+ /// Unable to set up a many-to-many relationship between the entity types '{principalEntityType}' and '{declaringEntityType}' because one of the navigations was not specified. Please provide a navigation in the 'HasMany' call in 'OnModelCreating'.
///
public static string MissingInverseManyToManyNavigation([CanBeNull] object principalEntityType, [CanBeNull] object declaringEntityType)
=> string.Format(
@@ -1450,7 +1450,7 @@ public static string MultipleEntries([CanBeNull] object entityType)
entityType);
///
- /// Different filters: '{filter1}' and '{filter2}' have been applied on the same included navigation. Only one unique filter per navigation is allowed. For more information on including related data, see http://go.microsoft.com/fwlink/?LinkID=746393.
+ /// The filters '{filter1}' and '{filter2}' have both been configured on the same included navigation. Only one unique filter per navigation is allowed. For more information on including related data, see http://go.microsoft.com/fwlink/?LinkID=746393.
///
public static string MultipleFilteredIncludesOnSameNavigation([CanBeNull] object filter1, [CanBeNull] object filter2)
=> string.Format(
@@ -1458,7 +1458,7 @@ public static string MultipleFilteredIncludesOnSameNavigation([CanBeNull] object
filter1, filter2);
///
- /// There are multiple navigations in entity type '{entityType}' which are pointing to same set of properties - '{propertyList}' using [ForeignKey] attribute.
+ /// There are multiple navigations in entity type '{entityType}' which are pointing to same set of properties using a [ForeignKey] attribute: '{propertyList}'
///
public static string MultipleNavigationsSameFk([CanBeNull] object entityType, [CanBeNull] object propertyList)
=> string.Format(
@@ -1474,7 +1474,7 @@ public static string MultipleOwnerships([CanBeNull] object entityType)
entityType);
///
- /// Services for database providers {storeNames} have been registered in the service provider. Only a single database provider can be registered in a service provider. If possible, ensure that Entity Framework is managing its service provider by removing the call to UseInternalServiceProvider. Otherwise, consider conditionally registering the database provider, or maintaining one service provider per database provider.
+ /// Services for database providers {storeNames} have been registered in the service provider. Only a single database provider can be registered in a service provider. If possible, ensure that Entity Framework is managing its service provider by removing the call to 'UseInternalServiceProvider'. Otherwise, consider conditionally registering the database provider, or maintaining one service provider per database provider.
///
public static string MultipleProvidersConfigured([CanBeNull] object storeNames)
=> string.Format(
@@ -1490,7 +1490,7 @@ public static string MutableKeyProperty([CanBeNull] object keyProperty)
keyProperty);
///
- /// The index named '{indexName}' on the entity type '{entityType}' with properties {indexPropertyList} is invalid. The property '{propertyName}' has been marked NotMapped or Ignore(). An index cannot use such properties.
+ /// The index named '{indexName}' on the entity type '{entityType}' with properties {indexPropertyList} is invalid. The property '{propertyName}' has been marked as unmapped via the [NotMapped] attribute or the 'EntityTypeBuilder.Ignore' fluent API. An index cannot use unmapped properties.
///
public static string NamedIndexDefinedOnIgnoredProperty([CanBeNull] object indexName, [CanBeNull] object entityType, [CanBeNull] object indexPropertyList, [CanBeNull] object propertyName)
=> string.Format(
@@ -1498,7 +1498,7 @@ public static string NamedIndexDefinedOnIgnoredProperty([CanBeNull] object index
indexName, entityType, indexPropertyList, propertyName);
///
- /// An index named '{indexName}' on the entity type '{entityType}' specifies properties {indexPropertyList}. But no property with name '{propertyName}' exists on that entity type or any of its base types.
+ /// An index named '{indexName}' on entity type '{entityType}' specifies properties {indexPropertyList}, but no property with name '{propertyName}' exists on that entity type or any of its base types.
///
public static string NamedIndexDefinedOnNonExistentProperty([CanBeNull] object indexName, [CanBeNull] object entityType, [CanBeNull] object indexPropertyList, [CanBeNull] object propertyName)
=> string.Format(
@@ -1594,7 +1594,7 @@ public static string NavigationToKeylessType([CanBeNull] object navigation, [Can
navigation, entityType);
///
- /// The navigation '{navigation}' cannot be added to the entity type '{entityType}' because the target entity type '{targetType}' is defined in shadow state and navigations properties cannot point to shadow state entities.
+ /// The navigation '{navigation}' cannot be added to the entity type '{entityType}' because the target entity type '{targetType}' is defined in shadow state, and navigations properties cannot point to shadow state entities.
///
public static string NavigationToShadowEntity([CanBeNull] object navigation, [CanBeNull] object entityType, [CanBeNull] object targetType)
=> string.Format(
@@ -1602,7 +1602,7 @@ public static string NavigationToShadowEntity([CanBeNull] object navigation, [Ca
navigation, entityType, targetType);
///
- /// No field was found backing property '{1_entityType}.{0_property}'. Either name the backing field so that it is picked up by convention, configure the backing field to use, or use a different '{propertyAccessMode}'.
+ /// No backing field was found for property '{1_entityType}.{0_property}'. Name the backing field so that it is discovered by convention, configure the backing field to use, or use a different '{propertyAccessMode}'.
///
public static string NoBackingField([CanBeNull] object property, [CanBeNull] object entityType, [CanBeNull] object propertyAccessMode)
=> string.Format(
@@ -1610,7 +1610,7 @@ public static string NoBackingField([CanBeNull] object property, [CanBeNull] obj
property, entityType, propertyAccessMode);
///
- /// No field was found backing property '{1_entityType}.{0_property}'. Lazy-loaded navigation properties must have backing fields. Either name the backing field so that it is picked up by convention or configure the backing field to use.
+ /// No backing field was found for property '{1_entityType}.{0_property}'. Lazy-loaded navigation properties must have backing fields. Either name the backing field so that it is discovered by convention or configure the backing field to use.
///
public static string NoBackingFieldLazyLoading([CanBeNull] object property, [CanBeNull] object entityType)
=> string.Format(
@@ -1642,7 +1642,7 @@ public static string NoDefiningNavigation([CanBeNull] object navigation, [CanBeN
navigation, entityType, definingEntityType);
///
- /// Cannot set discriminator value for entity type '{entityType}' because the root entity type '{rootEntityType}' doesn't have a discriminator property set.
+ /// Cannot set the discriminator value for entity type '{entityType}' because the root entity type '{rootEntityType}' doesn't have a discriminator property set.
///
public static string NoDiscriminatorForValue([CanBeNull] object entityType, [CanBeNull] object rootEntityType)
=> string.Format(
@@ -1718,7 +1718,7 @@ public static string NonClrBaseType([CanBeNull] object entityType, [CanBeNull] o
entityType, baseEntityType);
///
- /// Property '{entityType}.{property}' cannot be used as a key because it has type '{providerType}' which does not implement 'IComparable<T>', 'IComparable' or 'IStructuralComparable'. Use 'HasConversion()' in 'OnModelCreating' to wrap '{providerType}' with a type that can be compared.
+ /// Property '{entityType}.{property}' cannot be used as a key because it has type '{providerType}' which does not implement 'IComparable<T>', 'IComparable' or 'IStructuralComparable'. Use 'HasConversion' in 'OnModelCreating' to wrap '{providerType}' with a type that can be compared.
///
public static string NonComparableKeyType([CanBeNull] object entityType, [CanBeNull] object property, [CanBeNull] object providerType)
=> string.Format(
@@ -1726,7 +1726,7 @@ public static string NonComparableKeyType([CanBeNull] object entityType, [CanBeN
entityType, property, providerType);
///
- /// Property '{entityType}.{property}' cannot be used as a key because it has type '{modelType}' and provider type '{providerType}' neither of which implement 'IComparable<T>', 'IComparable' or 'IStructuralComparable'. Make '{modelType}' implement one of these interfaces to use it as a key.
+ /// Property '{entityType}.{property}' cannot be used as a key because it has type '{modelType}' and provider type '{providerType}', neither of which implement 'IComparable<T>', 'IComparable' or 'IStructuralComparable'. Make '{modelType}' implement one of these interfaces to use it as a key.
///
public static string NonComparableKeyTypes([CanBeNull] object entityType, [CanBeNull] object property, [CanBeNull] object modelType, [CanBeNull] object providerType)
=> string.Format(
@@ -1734,7 +1734,7 @@ public static string NonComparableKeyTypes([CanBeNull] object entityType, [CanBe
entityType, property, modelType, providerType);
///
- /// The navigation '{1_entityType}.{0_navigation}' must be configured in 'OnModelCreating' with an explicit name for the target shared type entity type or excluded by calling 'EntityTypeBuilder.Ignore'.
+ /// The navigation '{1_entityType}.{0_navigation}' must be configured in 'OnModelCreating' with an explicit name for the target shared type entity type, or excluded by calling 'EntityTypeBuilder.Ignore'.
///
public static string NonConfiguredNavigationToSharedType([CanBeNull] object navigation, [CanBeNull] object entityType)
=> string.Format(
@@ -1750,7 +1750,7 @@ public static string NonDefiningOwnership([CanBeNull] object ownershipNavigation
ownershipNavigation, definingNavigation, entityType);
///
- /// The DbContextOptions passed to the {contextType} constructor must be a DbContextOptions<{contextType}>. When registering multiple DbContext types make sure that the constructor for each context type has a DbContextOptions<TContext> parameter rather than a non-generic DbContextOptions parameter.
+ /// The DbContextOptions passed to the {contextType} constructor must be a DbContextOptions<{contextType}>. When registering multiple DbContext types, make sure that the constructor for each context type has a DbContextOptions<TContext> parameter rather than a non-generic DbContextOptions parameter.
///
public static string NonGenericOptions([CanBeNull] object contextType)
=> string.Format(
@@ -1798,7 +1798,7 @@ public static string NonUniqueRequiredDependentNavigation([CanBeNull] object pri
principalEntityType, principalNavigation);
///
- /// A parameterless constructor was not found on entity type '{entityType}'. In order to create an instance of '{entityType}' Entity Framework requires that a parameterless constructor be declared.
+ /// A parameterless constructor was not found on entity type '{entityType}'. In order to create an instance of '{entityType}', Entity Framework requires that a parameterless constructor be declared.
///
public static string NoParameterlessConstructor([CanBeNull] object entityType)
=> string.Format(
@@ -1814,7 +1814,7 @@ public static string NoProperty([CanBeNull] object field, [CanBeNull] object ent
field, entity, propertyAccessMode);
///
- /// The property '{property}' cannot be added to the type '{entityType}' because there was no property type specified and there is no corresponding CLR property or field. To add a shadow state property the property type must be specified.
+ /// The property '{property}' cannot be added to the type '{entityType}' because no property type was specified and there is no corresponding CLR property or field. To add a shadow state property, the property type must be specified.
///
public static string NoPropertyType([CanBeNull] object property, [CanBeNull] object entityType)
=> string.Format(
@@ -1822,13 +1822,13 @@ public static string NoPropertyType([CanBeNull] object property, [CanBeNull] obj
property, entityType);
///
- /// No database provider has been configured for this DbContext. A provider can be configured by overriding the DbContext.OnConfiguring method or by using AddDbContext on the application service provider. If AddDbContext is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
+ /// No database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
///
public static string NoProviderConfigured
=> GetString("NoProviderConfigured");
///
- /// Unable to resolve service for type '{service}'. This is often because no database provider has been configured for this DbContext. A provider can be configured by overriding the DbContext.OnConfiguring method or by using AddDbContext on the application service provider. If AddDbContext is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
+ /// Unable to resolve service for type '{service}'. This is often because no database provider has been configured for this DbContext. A provider can be configured by overriding the 'DbContext.OnConfiguring' method or by using 'AddDbContext' on the application service provider. If 'AddDbContext' is used, then also ensure that your DbContext type accepts a DbContextOptions<TContext> object in its constructor and passes it to the base constructor for DbContext.
///
public static string NoProviderConfiguredFailedToResolveService([CanBeNull] object service)
=> string.Format(
@@ -1866,7 +1866,7 @@ public static string NotQueryingEnumerable
=> GetString("NotQueryingEnumerable");
///
- /// The '{1_entityType}.{0_property}' does not have a value set and no value generator is available for properties of type '{propertyType}'. Either set a value for the property before adding the entity or configure a value generator for properties of type '{propertyType}' in 'OnModelCreating'.
+ /// The property '{1_entityType}.{0_property}' does not have a value set and no value generator is available for properties of type '{propertyType}'. Either set a value for the property before adding the entity or configure a value generator for properties of type '{propertyType}' in 'OnModelCreating'.
///
public static string NoValueGenerator([CanBeNull] object property, [CanBeNull] object entityType, [CanBeNull] object propertyType)
=> string.Format(
@@ -1890,7 +1890,7 @@ public static string OptionsExtensionNotFound([CanBeNull] object optionsExtensio
optionsExtension);
///
- /// The original value for property '{1_entityType}.{0_property}' cannot be accessed because it is not being tracked. Original values are not recorded for most properties of entities when the 'ChangingAndChangedNotifications' strategy is used. To access all original values use a different change tracking strategy such as 'ChangingAndChangedNotificationsWithOriginalValues'.
+ /// The original value for property '{1_entityType}.{0_property}' cannot be accessed because it is not being tracked. Original values are not recorded for most properties of entities when the 'ChangingAndChangedNotifications' strategy is used. To access all original values, use a different change tracking strategy such as 'ChangingAndChangedNotificationsWithOriginalValues'.
///
public static string OriginalValueNotTracked([CanBeNull] object property, [CanBeNull] object entityType)
=> string.Format(
@@ -1906,13 +1906,13 @@ public static string OwnedDerivedType([CanBeNull] object entityType)
entityType);
///
- /// A tracking query projects owned entity without corresponding owner in result. Owned entities cannot be tracked without their owner. Either include the owner entity in the result or make query non-tracking using 'AsNoTracking()'.
+ /// A tracking query is attempting to project an owned entity without a corresponding owner in its result, but owned entities cannot be tracked without their owner. Either include the owner entity in the result or make the query non-tracking using 'AsNoTracking'.
///
public static string OwnedEntitiesCannotBeTrackedWithoutTheirOwner
=> GetString("OwnedEntitiesCannotBeTrackedWithoutTheirOwner");
///
- /// The owned entity type '{ownedType}' requires to be referenced from another entity type via a navigation. Add a navigation to an entity type that points at '{ownedType}'.
+ /// The owned entity type '{ownedType}' must be referenced from another entity type via a navigation. Add a navigation to an entity type that points at '{ownedType}'.
///
public static string OwnerlessOwnedType([CanBeNull] object ownedType)
=> string.Format(
@@ -1928,13 +1928,13 @@ public static string PoolingContextCtorError([CanBeNull] object contextType)
contextType);
///
- /// OnConfiguring cannot be used to modify DbContextOptions when DbContext pooling is enabled.
+ /// 'OnConfiguring' cannot be used to modify DbContextOptions when DbContext pooling is enabled.
///
public static string PoolingOptionsModified
=> GetString("PoolingOptionsModified");
///
- /// You are configuring a relationship between '{dependentEntityType}' and '{principalEntityType}' but have specified a foreign key targeting '{entityType}'. The foreign key must be targeting a type that is part of the relationship.
+ /// You are configuring a relationship between '{dependentEntityType}' and '{principalEntityType}', but have specified a foreign key targeting '{entityType}'. The foreign key must target a type that is part of the relationship.
///
public static string PrincipalEntityTypeNotInRelationship([CanBeNull] object dependentEntityType, [CanBeNull] object principalEntityType, [CanBeNull] object entityType)
=> string.Format(
@@ -1966,7 +1966,7 @@ public static string PropertyCalledOnNavigation([CanBeNull] object property, [Ca
property, entityType);
///
- /// The indexer property '{property}' cannot be added to type '{entityType}' because the CLR class contains a member with the same name.
+ /// The indexer property '{property}' cannot be added to type '{entityType}' because the CLR type contains a member with the same name.
///
public static string PropertyClashingNonIndexer([CanBeNull] object property, [CanBeNull] object entityType)
=> string.Format(
@@ -1974,7 +1974,7 @@ public static string PropertyClashingNonIndexer([CanBeNull] object property, [Ca
property, entityType);
///
- /// The property '{1_entityType}.{0_property}' is marked as null, but this cannot be saved because the property is marked as required. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the key values.
+ /// The property '{1_entityType}.{0_property}' contains null, but the property is marked as required. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the key values.
///
public static string PropertyConceptualNull([CanBeNull] object property, [CanBeNull] object entityType)
=> string.Format(
@@ -1982,7 +1982,7 @@ public static string PropertyConceptualNull([CanBeNull] object property, [CanBeN
property, entityType);
///
- /// The property '{property}' is marked as null on entity '{entityType}' with the key value '{keyValue}', but this cannot be saved because the property is marked as required.
+ /// The property '{property}' contains null on entity '{entityType}' with the key value '{keyValue}', but the property is marked as required.
///
public static string PropertyConceptualNullSensitive([CanBeNull] object property, [CanBeNull] object entityType, [CanBeNull] object keyValue)
=> string.Format(
@@ -1990,7 +1990,7 @@ public static string PropertyConceptualNullSensitive([CanBeNull] object property
property, entityType, keyValue);
///
- /// The property '{property}' belongs to entity type '{entityType}' but is being used with an instance of entity type '{expectedType}'.
+ /// The property '{property}' belongs to entity type '{entityType}', but is being used with an instance of entity type '{expectedType}'.
///
public static string PropertyDoesNotBelong([CanBeNull] object property, [CanBeNull] object entityType, [CanBeNull] object expectedType)
=> string.Format(
@@ -2030,13 +2030,13 @@ public static string PropertyIsNavigation([CanBeNull] object property, [CanBeNul
property, entityType, propertyMethod, referenceMethod, collectionMethod);
///
- /// The EF.Property<T> method may only be used within LINQ queries.
+ /// The EF.Property<T> method may only be used within Entity Framework LINQ queries.
///
public static string PropertyMethodInvoked
=> GetString("PropertyMethodInvoked");
///
- /// The property '{entityType}.{property}' could not be mapped, because it is of type '{propertyType}' which is not a supported primitive type or a valid entity type. Either explicitly map this property, or ignore it using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
+ /// The property '{entityType}.{property}' could not be mapped because it is of type '{propertyType}', which is not a supported primitive type or a valid entity type. Either explicitly map this property, or ignore it using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
///
public static string PropertyNotAdded([CanBeNull] object entityType, [CanBeNull] object property, [CanBeNull] object propertyType)
=> string.Format(
@@ -2052,7 +2052,7 @@ public static string PropertyNotFound([CanBeNull] object property, [CanBeNull] o
property, entityType);
///
- /// The property '{entityType}.{property}' is of type '{propertyType}' which is not supported by current database provider. Either change the property CLR type or ignore the property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
+ /// The property '{entityType}.{property}' is of type '{propertyType}' which is not supported by the current database provider. Either change the property CLR type, or ignore the property using the '[NotMapped]' attribute or by using 'EntityTypeBuilder.Ignore' in 'OnModelCreating'.
///
public static string PropertyNotMapped([CanBeNull] object entityType, [CanBeNull] object property, [CanBeNull] object propertyType)
=> string.Format(
@@ -2060,7 +2060,7 @@ public static string PropertyNotMapped([CanBeNull] object entityType, [CanBeNull
entityType, property, propertyType);
///
- /// The property '{1_entityType}.{0_property}' is defined to be read-only after it has been saved, but its value has been modified or marked as modified.
+ /// The property '{1_entityType}.{0_property}' is defined as read-only after it has been saved, but its value has been modified or marked as modified.
///
public static string PropertyReadOnlyAfterSave([CanBeNull] object property, [CanBeNull] object entityType)
=> string.Format(
@@ -2068,7 +2068,7 @@ public static string PropertyReadOnlyAfterSave([CanBeNull] object property, [Can
property, entityType);
///
- /// The property '{1_entityType}.{0_property}' is defined to be read-only before it is saved, but its value has been set to something other than a temporary or default value.
+ /// The property '{1_entityType}.{0_property}' is defined as read-only before it has been saved, but its value has been set to something other than a temporary or default value.
///
public static string PropertyReadOnlyBeforeSave([CanBeNull] object property, [CanBeNull] object entityType)
=> string.Format(
@@ -2108,13 +2108,13 @@ public static string PropertyWrongType([CanBeNull] object property, [CanBeNull]
property, entityType, otherEntityType);
///
- /// InitializeStateManager method has been called multiple times on current query context. This method is intended to be called only once before query enumeration starts.
+ /// The 'InitializeStateManager' method has been called multiple times on the current query context. This method is intended to be called only once before query enumeration starts.
///
public static string QueryContextAlreadyInitializedStateManager
=> GetString("QueryContextAlreadyInitializedStateManager");
///
- /// Materialization condition passed for entity shaper of entity type '{entityType}' is not of correct shape. Materialization condition must be LambdaExpression of 'Func<ValueBuffer, IEntityType>'
+ /// The materialization condition passed for entity shaper of entity type '{entityType}' is not of the correct shape. A materialization condition must be a LambdaExpression of 'Func<ValueBuffer, IEntityType>'
///
public static string QueryEntityMaterializationConditionWrongShape([CanBeNull] object entityType)
=> string.Format(
@@ -2130,7 +2130,7 @@ public static string QueryFailed([CanBeNull] object expression, [CanBeNull] obje
expression, visitor);
///
- /// The query contains a final projection '{projection}' to type '{queryableType}'. Collections in the final projection must be an 'IEnumerable<T>' type such as 'List<T>'. Consider using 'ToList()' or some other mechanism to convert the 'IQueryable<T>' or 'IOrderedEnumerable<T>' into an 'IEnumerable<T>'.
+ /// The query contains a final projection '{projection}' to type '{queryableType}'. Collections in the final projection must be an 'IEnumerable<T>' type such as 'List<T>'. Consider using 'ToList' or some other mechanism to convert the 'IQueryable<T>' or 'IOrderedEnumerable<T>' into an 'IEnumerable<T>'.
///
public static string QueryInvalidMaterializationType([CanBeNull] object projection, [CanBeNull] object queryableType)
=> string.Format(
@@ -2138,7 +2138,7 @@ public static string QueryInvalidMaterializationType([CanBeNull] object projecti
projection, queryableType);
///
- /// Translation of '{expression}' failed. Either source is not an entity type or the specified property does not exist on the entity type.
+ /// Translation of '{expression}' failed. Either the query source is not an entity type, or the specified property does not exist on the entity type.
///
public static string QueryUnableToTranslateEFProperty([CanBeNull] object expression)
=> string.Format(
@@ -2146,7 +2146,7 @@ public static string QueryUnableToTranslateEFProperty([CanBeNull] object express
expression);
///
- /// Translation of member '{member}' on entity type '{entityType}' failed. Possibly the specified member is not mapped.
+ /// Translation of member '{member}' on entity type '{entityType}' failed. This commonly occurs when the specified member is unmapped.
///
public static string QueryUnableToTranslateMember([CanBeNull] object member, [CanBeNull] object entityType)
=> string.Format(
@@ -2162,7 +2162,7 @@ public static string QueryUnableToTranslateMethod([CanBeNull] object declaringTy
declaringTypeName, methodName);
///
- /// Translation of 'string.Equals' method which takes 'StringComparison' argument is not supported. See https://go.microsoft.com/fwlink/?linkid=2129535 for more information.
+ /// Translation of the 'string.Equals' overload with a 'StringComparison' parameter is not supported. See https://go.microsoft.com/fwlink/?linkid=2129535 for more information.
///
public static string QueryUnableToTranslateStringEqualsWithStringComparison
=> GetString("QueryUnableToTranslateStringEqualsWithStringComparison");
@@ -2196,7 +2196,7 @@ public static string ReferenceIsCollection([CanBeNull] object property, [CanBeNu
property, entityType, referenceMethod, collectionMethod);
///
- /// The navigation '{1_entityType}.{0_navigation}' cannot have 'IsLoaded' set to false because the referenced entity is non-null and therefore is loaded.
+ /// The navigation '{1_entityType}.{0_navigation}' cannot have 'IsLoaded' set to false because the referenced entity is non-null and is therefore loaded.
///
public static string ReferenceMustBeLoaded([CanBeNull] object navigation, [CanBeNull] object entityType)
=> string.Format(
@@ -2204,13 +2204,13 @@ public static string ReferenceMustBeLoaded([CanBeNull] object navigation, [CanBe
navigation, entityType);
///
- /// The principal and dependent ends of the relationship cannot be flipped once foreign key or principal key properties have been specified.
+ /// The principal and dependent ends of the relationship cannot be inverted once foreign key or principal key properties have been specified.
///
public static string RelationshipCannotBeInverted
=> GetString("RelationshipCannotBeInverted");
///
- /// The association between entity types '{firstType}' and '{secondType}' has been severed but the relationship is either marked as 'Required' or is implicitly required because the foreign key is not nullable. If the dependent/child entity should be deleted when a required relationship is severed, then setup the relationship to use cascade deletes. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the key values.
+ /// The association between entity types '{firstType}' and '{secondType}' has been severed, but the relationship is either marked as required or is implicitly required because the foreign key is not nullable. If the dependent/child entity should be deleted when a required relationship is severed, configure the relationship to use cascade deletes. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the key values.
///
public static string RelationshipConceptualNull([CanBeNull] object firstType, [CanBeNull] object secondType)
=> string.Format(
@@ -2218,7 +2218,7 @@ public static string RelationshipConceptualNull([CanBeNull] object firstType, [C
firstType, secondType);
///
- /// The association between entities '{firstType}' and '{secondType}' with the key value '{secondKeyValue}' has been severed but the relationship is either marked as 'Required' or is implicitly required because the foreign key is not nullable. If the dependent/child entity should be deleted when a required relationship is severed, then setup the relationship to use cascade deletes.
+ /// The association between entities '{firstType}' and '{secondType}' with the key value '{secondKeyValue}' has been severed, but the relationship is either marked as required or is implicitly required because the foreign key is not nullable. If the dependent/child entity should be deleted when a required relationship is severed, configure the relationship to use cascade deletes.
///
public static string RelationshipConceptualNullSensitive([CanBeNull] object firstType, [CanBeNull] object secondType, [CanBeNull] object secondKeyValue)
=> string.Format(
@@ -2234,13 +2234,13 @@ public static string RequiredSkipNavigation([CanBeNull] object entityType, [CanB
entityType, navigation);
///
- /// 'ObservableCollection<T>.Clear()' is not supported because it uses the 'INotifyCollectionChanged' 'Reset' operation, which does not supply the items removed. Either use multiple calls to 'Remove' or use a notifying collection that supports 'Clear', such as 'Microsoft.EntityFrameworkCore.ChangeTracking.ObservableHashSet<T>'.
+ /// 'ObservableCollection<T>.Clear' is not supported because it uses the 'INotifyCollectionChanged' 'Reset' operation, which does not supply the items removed. Either use multiple calls to 'Remove', or use a notifying collection that supports 'Clear', such as 'Microsoft.EntityFrameworkCore.ChangeTracking.ObservableHashSet<T>'.
///
public static string ResetNotSupported
=> GetString("ResetNotSupported");
///
- /// Maximum number of retries ({retryLimit}) exceeded while executing database operations with '{strategy}'. See inner exception for the most recent failure.
+ /// The maximum number of retries ({retryLimit}) was exceeded while executing database operations with '{strategy}'. See the inner exception for the most recent failure.
///
public static string RetryLimitExceeded([CanBeNull] object retryLimit, [CanBeNull] object strategy)
=> string.Format(
@@ -2286,7 +2286,7 @@ public static string SeedDatumDuplicateSensitive([CanBeNull] object entityType,
entityType, keyValue);
///
- /// The seed entity for entity type '{entityType}' cannot be added because the value provided for the property '{property}' is not of the type '{type}'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the involved property values.
+ /// The seed entity for entity type '{entityType}' cannot be added because the value provided for the property '{property}' is not of type '{type}'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the involved property values.
///
public static string SeedDatumIncompatibleValue([CanBeNull] object entityType, [CanBeNull] object property, [CanBeNull] object type)
=> string.Format(
@@ -2294,7 +2294,7 @@ public static string SeedDatumIncompatibleValue([CanBeNull] object entityType, [
entityType, property, type);
///
- /// The seed entity for entity type '{entityType}' cannot be added because the value '{value}' provided for the property '{property}' is not of the type '{type}'.
+ /// The seed entity for entity type '{entityType}' cannot be added because the value '{value}' provided for the property '{property}' is not of type '{type}'.
///
public static string SeedDatumIncompatibleValueSensitive([CanBeNull] object entityType, [CanBeNull] object value, [CanBeNull] object property, [CanBeNull] object type)
=> string.Format(
@@ -2302,7 +2302,7 @@ public static string SeedDatumIncompatibleValueSensitive([CanBeNull] object enti
entityType, value, property, type);
///
- /// The seed entity for entity type '{entityType}' cannot be added because there was no value provided for the required property '{property}'.
+ /// The seed entity for entity type '{entityType}' cannot be added because no value was provided for the required property '{property}'.
///
public static string SeedDatumMissingValue([CanBeNull] object entityType, [CanBeNull] object property)
=> string.Format(
@@ -2310,7 +2310,7 @@ public static string SeedDatumMissingValue([CanBeNull] object entityType, [CanBe
entityType, property);
///
- /// The seed entity for entity type '{entityType}' cannot be added because it has the navigation '{navigation}' set. To seed relationships you need to add the related entity seed to '{relatedEntityType}' and specify the foreign key values {foreignKeyProperties}. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the involved property values.
+ /// The seed entity for entity type '{entityType}' cannot be added because it has the navigation '{navigation}' set. To seed relationships, add the related entity seed to '{relatedEntityType}' and specify the foreign key values {foreignKeyProperties}. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the involved property values.
///
public static string SeedDatumNavigation([CanBeNull] object entityType, [CanBeNull] object navigation, [CanBeNull] object relatedEntityType, [CanBeNull] object foreignKeyProperties)
=> string.Format(
@@ -2318,7 +2318,7 @@ public static string SeedDatumNavigation([CanBeNull] object entityType, [CanBeNu
entityType, navigation, relatedEntityType, foreignKeyProperties);
///
- /// The seed entity for entity type '{entityType}' with the key value '{keyValue}' cannot be added because it has the navigation '{navigation}' set. To seed relationships you need to add the related entity seed to '{relatedEntityType}' and specify the foreign key values {foreignKeyProperties}.
+ /// The seed entity for entity type '{entityType}' with the key value '{keyValue}' cannot be added because it has the navigation '{navigation}' set. To seed relationships, add the related entity seed to '{relatedEntityType}' and specify the foreign key values {foreignKeyProperties}.
///
public static string SeedDatumNavigationSensitive([CanBeNull] object entityType, [CanBeNull] object keyValue, [CanBeNull] object navigation, [CanBeNull] object relatedEntityType, [CanBeNull] object foreignKeyProperties)
=> string.Format(
@@ -2390,7 +2390,7 @@ public static string SetOperationWithDifferentIncludesInOperands
=> GetString("SetOperationWithDifferentIncludesInOperands");
///
- /// Entity type '{entityType}' is in shadow-state. A valid model requires all entity types to have corresponding CLR type.
+ /// The entity type '{entityType}' is in shadow state. A valid model requires all entity types to have corresponding CLR type.
///
public static string ShadowEntity([CanBeNull] object entityType)
=> string.Format(
@@ -2422,7 +2422,7 @@ public static string SingletonRequired([CanBeNull] object scope, [CanBeNull] obj
scope, service);
///
- /// The foreign key {foreignKeyProperties} cannot be set for the skip navigation '{navigation}' as it uses the join entity type '{joinType}' while the inverse skip navigation '{inverse}' is using the join entity type '{inverseJoinType}'. The inverse should use the same join entity type.
+ /// The foreign key {foreignKeyProperties} cannot be set for the skip navigation '{navigation}' as it uses the join entity type '{joinType}' while the inverse skip navigation '{inverse}' is using the join entity type '{inverseJoinType}'. The inverse navigation must use the same join entity type.
///
public static string SkipInverseMismatchedForeignKey([CanBeNull] object foreignKeyProperties, [CanBeNull] object navigation, [CanBeNull] object joinType, [CanBeNull] object inverse, [CanBeNull] object inverseJoinType)
=> string.Format(
@@ -2430,7 +2430,7 @@ public static string SkipInverseMismatchedForeignKey([CanBeNull] object foreignK
foreignKeyProperties, navigation, joinType, inverse, inverseJoinType);
///
- /// The skip navigation '{inverse}' using the join entity type '{inverseJoinType}' cannot be set as the inverse of '{navigation}' that uses the join entity type '{joinType}'. The inverse should use the same join entity type.
+ /// The skip navigation '{inverse}' using the join entity type '{inverseJoinType}' cannot be set as the inverse of '{navigation}', which uses the join entity type '{joinType}'. The inverse navigation must use the same join entity type.
///
public static string SkipInverseMismatchedJoinType([CanBeNull] object inverse, [CanBeNull] object inverseJoinType, [CanBeNull] object navigation, [CanBeNull] object joinType)
=> string.Format(
@@ -2462,7 +2462,7 @@ public static string SkipNavigationInUseBySkipNavigation([CanBeNull] object skip
skipNavigation, inverseSkipNavigation, referencingEntityType);
///
- /// The skip navigation '{1_entityType}.{0_navigation}' doesn't have a foreign key associated with it. Every skip navigation should have a configured foreign key.
+ /// The skip navigation '{1_entityType}.{0_navigation}' doesn't have a foreign key associated with it. Every skip navigation must have a configured foreign key.
///
public static string SkipNavigationNoForeignKey([CanBeNull] object navigation, [CanBeNull] object entityType)
=> string.Format(
@@ -2470,7 +2470,7 @@ public static string SkipNavigationNoForeignKey([CanBeNull] object navigation, [
navigation, entityType);
///
- /// The skip navigation '{1_entityType}.{0_navigation}' doesn't have an inverse configured. Every skip navigation should have an inverse skip navigation.
+ /// The skip navigation '{1_entityType}.{0_navigation}' doesn't have an inverse navigation configured. Every skip navigation should must an inverse skip navigation.
///
public static string SkipNavigationNoInverse([CanBeNull] object navigation, [CanBeNull] object entityType)
=> string.Format(
@@ -2486,7 +2486,7 @@ public static string SkipNavigationNonCollection([CanBeNull] object navigation,
navigation, entityType);
///
- /// The skip navigation '{inverse}' declared on the entity type '{inverseEntityType}' cannot be set as the inverse of '{navigation}' that targets '{targetEntityType}'. The inverse should be declared on the target entity type.
+ /// The skip navigation '{inverse}' declared on the entity type '{inverseEntityType}' cannot be set as the inverse of '{navigation}', which targets '{targetEntityType}'. The inverse navigation should be declared on the target entity type.
///
public static string SkipNavigationWrongInverse([CanBeNull] object inverse, [CanBeNull] object inverseEntityType, [CanBeNull] object navigation, [CanBeNull] object targetEntityType)
=> string.Format(
@@ -2518,7 +2518,7 @@ public static string TempValue([CanBeNull] object property, [CanBeNull] object e
property, entityType);
///
- /// The property '{1_entityType}.{0_property}' has a temporary value while attempting to change the entity's state to '{state}'. Either set a permanent value explicitly or ensure that the database is configured to generate values for this property.
+ /// The property '{1_entityType}.{0_property}' has a temporary value while attempting to change the entity's state to '{state}'. Either set a permanent value explicitly, or ensure that the database is configured to generate values for this property.
///
public static string TempValuePersists([CanBeNull] object property, [CanBeNull] object entityType, [CanBeNull] object state)
=> string.Format(
@@ -2526,7 +2526,7 @@ public static string TempValuePersists([CanBeNull] object property, [CanBeNull]
property, entityType, state);
///
- /// The instance of entity type '{runtimeEntityType}' cannot be tracked as the entity type '{entityType}' because they are not in the same hierarchy.
+ /// The instance of entity type '{runtimeEntityType}' cannot be tracked as the entity type '{entityType}' because the two types are not in the same hierarchy.
///
public static string TrackingTypeMismatch([CanBeNull] object runtimeEntityType, [CanBeNull] object entityType)
=> string.Format(
@@ -2534,13 +2534,13 @@ public static string TrackingTypeMismatch([CanBeNull] object runtimeEntityType,
runtimeEntityType, entityType);
///
- /// Current provider doesn't support System.Transaction.
+ /// The current provider doesn't support System.Transaction.
///
public static string TransactionsNotSupported
=> GetString("TransactionsNotSupported");
///
- /// The LINQ expression '{expression}' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to either 'AsEnumerable()', 'AsAsyncEnumerable()', 'ToList()', or 'ToListAsync()'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
+ /// The LINQ expression '{expression}' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
///
public static string TranslationFailed([CanBeNull] object expression)
=> string.Format(
@@ -2548,7 +2548,7 @@ public static string TranslationFailed([CanBeNull] object expression)
expression);
///
- /// The LINQ expression '{expression}' could not be translated. Additional information: {details} Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to either 'AsEnumerable()', 'AsAsyncEnumerable()', 'ToList()', or 'ToListAsync()'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
+ /// The LINQ expression '{expression}' could not be translated. Additional information: {details} Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
///
public static string TranslationFailedWithDetails([CanBeNull] object expression, [CanBeNull] object details)
=> string.Format(
@@ -2556,7 +2556,7 @@ public static string TranslationFailedWithDetails([CanBeNull] object expression,
expression, details);
///
- /// Type '{type}' is not been configured as shared type in the model. Before calling 'UsingEntity', please mark the type as shared or add the entity type in the model as shared entity.
+ /// The type '{type}' is not been configured as a shared type in the model. Before calling 'UsingEntity', please mark the type as shared or add the entity type in the model as a shared entity.
///
public static string TypeNotMarkedAsShared([CanBeNull] object type)
=> string.Format(
@@ -2620,7 +2620,7 @@ public static string UnknownKeyValue([CanBeNull] object entityType, [CanBeNull]
entityType, property);
///
- /// The unnamed index on the entity type '{entityType}' with properties {indexPropertyList} is invalid. The property '{propertyName}' was ignored by [NotMapped] attribute or 'Ignore()' in 'OnModelCreating'. An index cannot use such properties.
+ /// The unnamed index on the entity type '{entityType}' with properties {indexPropertyList} is invalid. The property '{propertyName}' was marked as unmapped by [NotMapped] attribute or 'Ignore()' in 'OnModelCreating'. An index cannot use unmapped properties.
///
public static string UnnamedIndexDefinedOnIgnoredProperty([CanBeNull] object entityType, [CanBeNull] object indexPropertyList, [CanBeNull] object propertyName)
=> string.Format(
@@ -2628,7 +2628,7 @@ public static string UnnamedIndexDefinedOnIgnoredProperty([CanBeNull] object ent
entityType, indexPropertyList, propertyName);
///
- /// An unnamed index on the entity type '{entityType}' specifies properties {indexPropertyList}. But no property with name '{propertyName}' exists on that entity type or any of its base types.
+ /// An unnamed index on the entity type '{entityType}' specifies properties {indexPropertyList}, but no property with name '{propertyName}' exists on that entity type or any of its base types.
///
public static string UnnamedIndexDefinedOnNonExistentProperty([CanBeNull] object entityType, [CanBeNull] object indexPropertyList, [CanBeNull] object propertyName)
=> string.Format(
@@ -2636,7 +2636,7 @@ public static string UnnamedIndexDefinedOnNonExistentProperty([CanBeNull] object
entityType, indexPropertyList, propertyName);
///
- /// The entity type '{entityType}' has a defining navigation and the supplied entity is currently not being tracked. To start tracking this entity call '{referenceCall}' or '{collectionCall}' on the owner entry.
+ /// The entity type '{entityType}' has a defining navigation and the supplied entity is currently not being tracked. To start tracking this entity, call '{referenceCall}' or '{collectionCall}' on the owner entry.
///
public static string UntrackedDependentEntity([CanBeNull] object entityType, [CanBeNull] object referenceCall, [CanBeNull] object collectionCall)
=> string.Format(
@@ -2660,7 +2660,7 @@ public static string ValueGenWithConversion([CanBeNull] object entityType, [CanB
entityType, property, converter);
///
- /// Calling '{visitMethodName}' is not allowed. Visit expression manually for relevant part.
+ /// Calling '{visitMethodName}' is not allowed. Visit the expression manually for the relevant part.
///
public static string VisitIsNotAllowed([CanBeNull] object visitMethodName)
=> string.Format(
@@ -2668,7 +2668,7 @@ public static string VisitIsNotAllowed([CanBeNull] object visitMethodName)
visitMethodName);
///
- /// Error generated for warning '{eventName}': {message} This exception can be suppressed or logged by passing event ID '{eventId}' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
+ /// An error was generated for warning '{eventName}': {message} This exception can be suppressed or logged by passing event ID '{eventId}' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.
///
public static string WarningAsErrorTemplate([CanBeNull] object eventName, [CanBeNull] object message, [CanBeNull] object eventId)
=> string.Format(
@@ -2734,7 +2734,7 @@ private static readonly ResourceManager _resourceManager
= new ResourceManager("Microsoft.EntityFrameworkCore.Properties.CoreStrings", typeof(CoreResources).Assembly);
///
- /// The foreign key {foreignKeyProperties} on entity type '{entityType}' should not be configured as required since the dependent side cannot be determined. To identify the dependent side of the relationship, configure the foreign key property or the principal key before configuring the foreign key as required in 'OnModelCreating'. See http://go.microsoft.com/fwlink/?LinkId=724062 for more details.
+ /// The foreign key {foreignKeyProperties} on entity type '{entityType}' cannot be configured as required since the dependent side cannot be determined. To identify the dependent side of the relationship, configure the foreign key property or the principal key before configuring the foreign key as required in 'OnModelCreating'. See http://go.microsoft.com/fwlink/?LinkId=724062 for more details.
///
public static EventDefinition LogAmbiguousEndRequired([NotNull] IDiagnosticsLogger logger)
{
@@ -2758,7 +2758,7 @@ public static EventDefinition LogAmbiguousEndRequired([NotNull]
}
///
- /// Cascade state change of '{entityType}' entity to '{state}' due to deletion of parent '{parentType}' entity. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
+ /// A cascade state change of an entity of type '{entityType}' to '{state}' occurred due to deletion of its parent entity of type '{parentType}'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
///
public static EventDefinition LogCascadeDelete([NotNull] IDiagnosticsLogger logger)
{
@@ -2782,7 +2782,7 @@ public static EventDefinition LogCascadeDelete([Not
}
///
- /// '{entityType}' entity changed to '{state}' state due to severed required relationship to parent '{parentType}' entity. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
+ /// An entity of type '{entityType}' changed to '{state}' state due to severed required relationship to its parent entity of type '{parentType}'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
///
public static EventDefinition LogCascadeDeleteOrphan([NotNull] IDiagnosticsLogger logger)
{
@@ -2806,7 +2806,7 @@ public static EventDefinition LogCascadeDeleteOrpha
}
///
- /// '{entityType}' entity with key '{keyValues}' changed to '{state}' state due to severed required relationship to parent '{parentType}' entity.
+ /// An entity of type '{entityType}' with key '{keyValues}' changed to '{state}' state due to severed required relationship to its parent entity of type '{parentType}'.
///
public static EventDefinition LogCascadeDeleteOrphanSensitive([NotNull] IDiagnosticsLogger logger)
{
@@ -2830,7 +2830,7 @@ public static EventDefinition LogCascadeDel
}
///
- /// Cascade state change of '{entityType}' entity with key '{keyValues}' to '{state}' due to deletion of parent '{parentType}' entity with key '{parentKeyValues}'.
+ /// A cascade state change of an entity of type '{entityType}' with key '{keyValues}' to '{state}' occurred due to the deletion of its parent entity of type '{parentType}' with key '{parentKeyValues}'.
///
public static EventDefinition LogCascadeDeleteSensitive([NotNull] IDiagnosticsLogger logger)
{
@@ -2854,7 +2854,7 @@ public static EventDefinition LogCa
}
///
- /// Detected {addedCount} entities added and {removedCount} entities removed from navigation '{entityType}.{property}'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
+ /// {addedCount} entities were added and {removedCount} entities were removed from navigation '{entityType}.{property}'. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see key values.
///
public static EventDefinition LogCollectionChangeDetected([NotNull] IDiagnosticsLogger logger)
{
@@ -2878,7 +2878,7 @@ public static EventDefinition LogCollectionChangeDetec
}
///
- /// Detected {addedCount} entities added and {removedCount} entities removed from navigation '{entityType}.{property}' on entity with key '{keyValues}'.
+ /// {addedCount} entities were added and {removedCount} entities were removed from navigation '{entityType}.{property}' on entity with key '{keyValues}'.
///
public static EventDefinition LogCollectionChangeDetectedSensitive([NotNull] IDiagnosticsLogger logger)
{
@@ -2926,7 +2926,7 @@ public static EventDefinition LogCollectionWithoutComparer([NotN
}
///
- /// The relationship was separated into two relationships because [ForeignKey] attribute specified on the navigation '{navigationEntityType}.{navigation}' doesn't match the [ForeignKey] attribute specified on the property '{propertyEntityType}.{property}'.
+ /// The relationship was separated into two relationships because the [ForeignKey] attribute specified on the navigation '{navigationEntityType}.{navigation}' doesn't match the [ForeignKey] attribute specified on the property '{propertyEntityType}.{property}'.
///
public static EventDefinition LogConflictingForeignKeyAttributesOnNavigationAndProperty([NotNull] IDiagnosticsLogger logger)
{
@@ -2950,7 +2950,7 @@ public static EventDefinition LogConflictingFore
}
///
- /// Conflicting attributes have been applied: the 'Key' attribute on property '{property}' and the 'Keyless' attribute on its entity '{entity}'. Note that the entity will have no key unless you configure one in 'OnModelCreating'.
+ /// The entity type '{entity}' has the [Keyless] attribute, but the [Key] attribute was specified on property '{property}'; the two are incompatible, consider removing one. Note that the entity will have no key unless you configure one in 'OnModelCreating'.
///
public static EventDefinition LogConflictingKeylessAndKeyAttributes([NotNull] IDiagnosticsLogger logger)
{
@@ -2974,7 +2974,7 @@ public static EventDefinition LogConflictingKeylessAndKeyAttribu
}
///
- /// There are multiple relationships between '{dependentEntityType}' and '{principalEntityType}' without configured foreign key properties causing Entity Framework to create shadow properties on '{dependentType}' with names dependent on the discovery order.
+ /// There are multiple relationships between '{dependentEntityType}' and '{principalEntityType}' without configured foreign key properties. This will cause Entity Framework to create shadow properties on '{dependentType}' with names dependent on the discovery order.
///
public static EventDefinition LogConflictingShadowForeignKeys([NotNull] IDiagnosticsLogger logger)
{
@@ -3046,7 +3046,7 @@ public static EventDefinition LogContextInitiali
}
///
- /// An attempt was made to lazy-load navigation '{navigation}' on detached entity of type '{entityType}'. Lazy-loading is not supported for detached entities or entities that are loaded with 'AsNoTracking()'.
+ /// An attempt was made to lazy-load navigation '{navigation}' on a detached entity of type '{entityType}'. Lazy-loading is not supported for detached entities or entities that are loaded with 'AsNoTracking'.
///
public static EventDefinition LogDetachedLazyLoading([NotNull] IDiagnosticsLogger logger)
{
@@ -3118,7 +3118,7 @@ public static EventDefinition LogDetectChangesStarting([NotNull] IDiagno
}
///
- /// The same entity is being tracked as different weak entity types '{dependent1}' and '{dependent2}'. If a property value changes it will result in two store changes, which might not be the desired outcome.
+ /// The same entity is being tracked as different weak entity types '{dependent1}' and '{dependent2}'. If a property value changes, it will result in two store changes, which might not be the desired outcome.
///
public static EventDefinition LogDuplicateDependentEntityTypeInstance([NotNull] IDiagnosticsLogger logger)
{
@@ -3190,7 +3190,7 @@ public static EventDefinition LogExceptionDuringSaveCha
}
///
- /// A transient exception has been encountered during execution and the operation will be retried after {delay}ms.{newline}{error}
+ /// A transient exception occurred during execution. The operation will be retried after {delay}ms.{newline}{error}
///
public static EventDefinition LogExecutionStrategyRetrying([NotNull] IDiagnosticsLogger logger)
{
@@ -3214,7 +3214,7 @@ public static EventDefinition LogExecutionStrategyRetryi
}
///
- /// Query uses First/FirstOrDefault operation without OrderBy and filter, which may lead to unpredictable results.
+ /// The query uses the First/FirstOrDefault operator without OrderBy and filter operators. This may lead to unpredictable results.
///
public static EventDefinition LogFirstWithoutOrderByAndFilter([NotNull] IDiagnosticsLogger logger)
{
@@ -3238,7 +3238,7 @@ public static EventDefinition LogFirstWithoutOrderByAndFilter([NotNull] IDiagnos
}
///
- /// Navigations '{dependentEntityType}.{dependentNavigation}' and '{principalEntityType}.{principalNavigation}' were separated into two relationships as [ForeignKey] attribute was specified on navigations on both sides.
+ /// Navigations '{dependentEntityType}.{dependentNavigation}' and '{principalEntityType}.{principalNavigation}' were separated into two relationships as the [ForeignKey] attribute was specified on navigations on both sides.
///
public static EventDefinition LogForeignKeyAttributesOnBothNavigations([NotNull] IDiagnosticsLogger logger)
{
@@ -3262,7 +3262,7 @@ public static EventDefinition LogForeignKeyAttri
}
///
- /// Navigations '{dependentEntityType}.{dependentNavigation}' and '{principalEntityType}.{principalNavigation}' were separated into two relationships as [ForeignKey] attribute was specified on properties '{dependentProperty}' and '{principalProperty}' on both sides.
+ /// Navigations '{dependentEntityType}.{dependentNavigation}' and '{principalEntityType}.{principalNavigation}' were separated into two relationships as the [ForeignKey] attribute was specified on properties '{dependentProperty}' and '{principalProperty}' on both sides.
///
public static EventDefinition LogForeignKeyAttributesOnBothProperties([NotNull] IDiagnosticsLogger logger)
{
@@ -3286,7 +3286,7 @@ public static EventDefinition Lo
}
///
- /// Foreign key property '{entityType}.{property}' detected as changed. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see property values.
+ /// The foreign key property '{entityType}.{property}' was detected as changed. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see property values.
///
public static EventDefinition LogForeignKeyChangeDetected([NotNull] IDiagnosticsLogger logger)
{
@@ -3310,7 +3310,7 @@ public static EventDefinition LogForeignKeyChangeDetected([NotNu
}
///
- /// Foreign key property '{entityType}.{property}' detected as changed from '{oldValue}' to '{newValue}' for entity with key '{keyValues}'.
+ /// The foreign key property '{entityType}.{property}' was detected as changed from '{oldValue}' to '{newValue}' for entity with key '{keyValues}'.
///
public static EventDefinition LogForeignKeyChangeDetectedSensitive([NotNull] IDiagnosticsLogger logger)
{
@@ -3358,7 +3358,7 @@ public static EventDefinition LogIncompatibleMat
}
///
- /// Invalid include path '{navigationChain}', couldn't find navigation for '{navigationName}'.
+ /// Invalid Include path '{navigationChain}': couldn't find navigation for '{navigationName}'.
///
public static EventDefinition