Skip to content

Commit

Permalink
Fix small typos in docs/strings
Browse files Browse the repository at this point in the history
Fixes #19386
Fixes #19304
Fixes #18824
  • Loading branch information
ajcvickers committed Dec 30, 2019
1 parent b230bc0 commit b36ea0a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions src/EFCore.Relational/Migrations/MigrationBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@ public virtual OperationBuilder<InsertDataOperation> InsertData(
/// <summary>
/// Builds an <see cref="DeleteDataOperation" /> to delete a single row of seed data.
/// </summary>
/// <param name="table"> The table from which the data will deleted. </param>
/// <param name="table"> The table from which the data will be deleted. </param>
/// <param name="keyColumn"> The name of the key column used to select the row to delete. </param>
/// <param name="keyValue"> The key value of the row to delete. </param>
/// <param name="schema"> The schema that contains the table, or <c>null</c> to use the default schema. </param>
Expand All @@ -1187,7 +1187,7 @@ public virtual OperationBuilder<DeleteDataOperation> DeleteData(
/// Builds an <see cref="DeleteDataOperation" /> to delete a single row of seed data from
/// a table with a composite (multi-column) key.
/// </summary>
/// <param name="table"> The table from which the data will deleted. </param>
/// <param name="table"> The table from which the data will be deleted. </param>
/// <param name="keyColumns"> The names of the key columns used to select the row to delete. </param>
/// <param name="keyValues"> The key values of the row to delete, one value for each column in 'keyColumns'. </param>
/// <param name="schema"> The schema that contains the table, or <c>null</c> to use the default schema. </param>
Expand All @@ -1206,7 +1206,7 @@ public virtual OperationBuilder<DeleteDataOperation> DeleteData(
/// <summary>
/// Builds an <see cref="DeleteDataOperation" /> to delete multiple rows of seed data.
/// </summary>
/// <param name="table"> The table from which the data will deleted. </param>
/// <param name="table"> The table from which the data will be deleted. </param>
/// <param name="keyColumn"> The name of the key column used to select the row to delete. </param>
/// <param name="keyValues"> The key values of the rows to delete, one value per row. </param>
/// <param name="schema"> The schema that contains the table, or <c>null</c> to use the default schema. </param>
Expand All @@ -1226,7 +1226,7 @@ public virtual OperationBuilder<DeleteDataOperation> DeleteData(
/// Builds an <see cref="DeleteDataOperation" /> to delete multiple rows of seed data from
/// a table with a composite (multi-column) key.
/// </summary>
/// <param name="table"> The table from which the data will deleted. </param>
/// <param name="table"> The table from which the data will be deleted. </param>
/// <param name="keyColumns"> The names of the key columns used to select the rows to delete. </param>
/// <param name="keyValues">
/// 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
Expand Down
4 changes: 2 additions & 2 deletions src/EFCore/DeleteBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public enum DeleteBehavior
/// <summary>
/// <para>
/// For entities being tracked by the <see cref="DbContext" />, dependent entities
/// will deleted when the related principal is deleted.
/// will be deleted when the related principal is deleted.
/// </para>
/// <para>
/// If the database has been created from the model using Entity Framework Migrations or the
Expand All @@ -100,7 +100,7 @@ public enum DeleteBehavior
/// <summary>
/// <para>
/// For entities being tracked by the <see cref="DbContext" />, dependent entities
/// will deleted when the related principal is deleted.
/// will be deleted when the related principal is deleted.
/// </para>
/// <para>
/// If the database has been created from the model using Entity Framework Migrations or the
Expand Down
4 changes: 2 additions & 2 deletions src/EFCore/Infrastructure/ModelCustomizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Microsoft.EntityFrameworkCore.Infrastructure
/// <summary>
/// <para>
/// Builds the model for a given context. This implementation builds the model by calling
/// <see cref="DbContext.OnConfiguring(DbContextOptionsBuilder)" /> on the context.
/// <see cref="DbContext.OnModelCreating(ModelBuilder)" /> on the context.
/// </para>
/// <para>
/// This type is typically used by database providers (and other extensions). It is generally
Expand Down Expand Up @@ -42,7 +42,7 @@ public ModelCustomizer([NotNull] ModelCustomizerDependencies dependencies)

/// <summary>
/// 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 <see cref="DbContext.OnConfiguring(DbContextOptionsBuilder)" />
/// builds the model for a given context by calling <see cref="DbContext.OnModelCreating(ModelBuilder)" />
/// on the context.
/// </summary>
/// <param name="modelBuilder">
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore/Properties/CoreStrings.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/EFCore/Properties/CoreStrings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,7 @@
<value>Cannot create a DbSet for '{typeName}' because it is configured as an owned entity type and should be accessed through the defining entities.</value>
</data>
<data name="InvalidSetKeylessOperation" xml:space="preserve">
<value>The invoked method is cannot be used for the entity type '{entityType}' because it does not have a primary key.</value>
<value>The invoked method cannot be used for the entity type '{entityType}' because it does not have a primary key.</value>
</data>
<data name="DerivedEntityTypeHasNoKey" xml:space="preserve">
<value>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.</value>
Expand Down

0 comments on commit b36ea0a

Please sign in to comment.