diff --git a/src/EFCore.Relational/Migrations/MigrationBuilder.cs b/src/EFCore.Relational/Migrations/MigrationBuilder.cs index 10e41a8d60d..4da394f0eeb 100644 --- a/src/EFCore.Relational/Migrations/MigrationBuilder.cs +++ b/src/EFCore.Relational/Migrations/MigrationBuilder.cs @@ -1171,7 +1171,7 @@ public virtual OperationBuilder InsertData( /// /// Builds an to delete a single row of seed data. /// - /// The table from which the data will deleted. + /// The table from which the data will be deleted. /// The name of the key column used to select the row to delete. /// The key value of the row to delete. /// The schema that contains the table, or null to use the default schema. @@ -1187,7 +1187,7 @@ public virtual OperationBuilder DeleteData( /// Builds an to delete a single row of seed data from /// a table with a composite (multi-column) key. /// - /// The table from which the data will deleted. + /// The table from which the data will be deleted. /// The names of the key columns used to select the row to delete. /// The key values of the row to delete, one value for each column in 'keyColumns'. /// The schema that contains the table, or null to use the default schema. @@ -1206,7 +1206,7 @@ public virtual OperationBuilder DeleteData( /// /// Builds an to delete multiple rows of seed data. /// - /// The table from which the data will deleted. + /// The table from which the data will be deleted. /// The name of the key column used to select the row to delete. /// The key values of the rows to delete, one value per row. /// The schema that contains the table, or null to use the default schema. @@ -1226,7 +1226,7 @@ public virtual OperationBuilder DeleteData( /// Builds an to delete multiple rows of seed data from /// a table with a composite (multi-column) key. /// - /// The table from which the data will deleted. + /// The table from which the data will be deleted. /// The names of the key columns used to select the rows to delete. /// /// The key values of the rows to delete, where each element of the outer array represents a row, and each inner array contains values for diff --git a/src/EFCore/DeleteBehavior.cs b/src/EFCore/DeleteBehavior.cs index dee2b4f8a45..4fba3cc69c2 100644 --- a/src/EFCore/DeleteBehavior.cs +++ b/src/EFCore/DeleteBehavior.cs @@ -80,7 +80,7 @@ public enum DeleteBehavior /// /// /// For entities being tracked by the , dependent entities - /// will deleted when the related principal is deleted. + /// will be deleted when the related principal is deleted. /// /// /// If the database has been created from the model using Entity Framework Migrations or the @@ -100,7 +100,7 @@ public enum DeleteBehavior /// /// /// For entities being tracked by the , dependent entities - /// will deleted when the related principal is deleted. + /// will be deleted when the related principal is deleted. /// /// /// If the database has been created from the model using Entity Framework Migrations or the diff --git a/src/EFCore/Infrastructure/ModelCustomizer.cs b/src/EFCore/Infrastructure/ModelCustomizer.cs index 8b390ac0315..57393c4c3e5 100644 --- a/src/EFCore/Infrastructure/ModelCustomizer.cs +++ b/src/EFCore/Infrastructure/ModelCustomizer.cs @@ -10,7 +10,7 @@ namespace Microsoft.EntityFrameworkCore.Infrastructure /// /// /// Builds the model for a given context. This implementation builds the model by calling - /// on the context. + /// on the context. /// /// /// This type is typically used by database providers (and other extensions). It is generally @@ -42,7 +42,7 @@ public ModelCustomizer([NotNull] ModelCustomizerDependencies dependencies) /// /// Performs additional configuration of the model in addition to what is discovered by convention. This default implementation - /// builds the model for a given context by calling + /// builds the model for a given context by calling /// on the context. /// /// diff --git a/src/EFCore/Properties/CoreStrings.Designer.cs b/src/EFCore/Properties/CoreStrings.Designer.cs index a11d53abd23..d4a9adfad03 100644 --- a/src/EFCore/Properties/CoreStrings.Designer.cs +++ b/src/EFCore/Properties/CoreStrings.Designer.cs @@ -2001,7 +2001,7 @@ public static string InvalidSetTypeOwned([CanBeNull] object typeName) typeName); /// - /// The invoked method is cannot be used for the entity type '{entityType}' because it does not have a primary key. + /// The invoked method cannot be used for the entity type '{entityType}' because it does not have a primary key. /// public static string InvalidSetKeylessOperation([CanBeNull] object entityType) => string.Format( diff --git a/src/EFCore/Properties/CoreStrings.resx b/src/EFCore/Properties/CoreStrings.resx index 7d82bbd8f5e..372b8d2ba90 100644 --- a/src/EFCore/Properties/CoreStrings.resx +++ b/src/EFCore/Properties/CoreStrings.resx @@ -1113,7 +1113,7 @@ Cannot create a DbSet for '{typeName}' because it is configured as an owned entity type and should be accessed through the defining entities. - The invoked method is cannot be used for the entity type '{entityType}' because it does not have a primary key. + The invoked method cannot be used for the entity type '{entityType}' because it does not have a primary key. 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 included in a DbSet property on your context, referenced in a configuration call to ModelBuilder, or referenced from a navigation property on a type that is included in the model.