Skip to content

Commit b848bf1

Browse files
authored
Fix typos, doubled words (#32372)
1 parent 1a7c80d commit b848bf1

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

src/EFCore.Cosmos/Properties/CosmosStrings.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/EFCore.Cosmos/Properties/CosmosStrings.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@
287287
<value>Conflicts were detected for item with id '{itemId}'.</value>
288288
</data>
289289
<data name="UpdateStoreException" xml:space="preserve">
290-
<value>An error occurred while saving the the item with id '{itemId}'. See the inner exception for details.</value>
290+
<value>An error occurred while saving the item with id '{itemId}'. See the inner exception for details.</value>
291291
</data>
292292
<data name="VisitChildrenMustBeOverridden" xml:space="preserve">
293293
<value>'VisitChildren' must be overridden in the class deriving from 'SqlExpression'.</value>

src/EFCore.Sqlite.Core/Query/Internal/SqliteQueryableMethodTranslatingExpressionVisitor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ protected override Expression VisitExtension(Expression expression)
582582
when TryGetInferredTypeMapping(jsonEachExpression, "value", out var typeMapping):
583583
return ApplyTypeMappingsOnJsonEachExpression(jsonEachExpression, typeMapping);
584584

585-
// Above, we applied the type mapping the the parameter that json_each accepts as an argument.
585+
// Above, we applied the type mapping to the parameter that json_each accepts as an argument.
586586
// But the inferred type mapping also needs to be applied as a SQL conversion on the column projections coming out of the
587587
// SelectExpression containing the json_each call. So we set state to know about json_each tables and their type mappings
588588
// in the immediate SelectExpression, and continue visiting down (see ColumnExpression visitation below).

src/EFCore/ChangeTracking/LoadOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public enum LoadOptions
1414
/// Applies no special options to loading of related entities.
1515
/// </para>
1616
/// <para>
17-
/// If the the entity is tracked, then entities with the same primary key value are not replaced
17+
/// If the entity is tracked, then entities with the same primary key value are not replaced
1818
/// by new entities or overwritten with new data from the database. If the entity entity represented by this entry is not
1919
/// tracked and the collection already contains entities, then calling this method will result in duplicate
2020
/// instances in the collection or inverse collection for any entities with the same key value.

src/EFCore/ChangeTracking/LocalView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ public virtual IEnumerable<EntityEntry<TEntity>> GetEntries<TProperty>(IProperty
823823
/// See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see> for more information and examples.
824824
/// </para>
825825
/// </remarks>
826-
/// <param name="properties">The the properties to match.</param>
826+
/// <param name="properties">The properties to match.</param>
827827
/// <param name="propertyValues">The values of the properties to match.</param>
828828
/// <returns>An entry for each entity being tracked.</returns>
829829
public virtual IEnumerable<EntityEntry<TEntity>> GetEntries(IEnumerable<IProperty> properties, IEnumerable<object?> propertyValues)

src/EFCore/Metadata/Builders/EntityTypeBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@ public virtual EntityTypeBuilder HasNoDiscriminator()
14281428
}
14291429

14301430
/// <summary>
1431-
/// Configures a trigger for the the entity type.
1431+
/// Configures a trigger for the entity type.
14321432
/// </summary>
14331433
/// <param name="entityType">The entity type.</param>
14341434
/// <param name="modelName">The name of the trigger.</param>

src/Microsoft.Data.Sqlite.Core/SqliteConnection.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,15 +225,15 @@ protected override DbProviderFactory DbProviderFactory
225225
/// <summary>
226226
/// Empties the connection pool.
227227
/// </summary>
228-
/// <remarks>Any open connections will not be returned the the pool when closed.</remarks>
228+
/// <remarks>Any open connections will not be returned to the pool when closed.</remarks>
229229
public static void ClearAllPools()
230230
=> SqliteConnectionFactory.Instance.ClearPools();
231231

232232
/// <summary>
233233
/// Empties the connection pool associated with the connection.
234234
/// </summary>
235235
/// <param name="connection">The connection.</param>
236-
/// <remarks>Any open connections will not be returned the the pool when closed.</remarks>
236+
/// <remarks>Any open connections will not be returned to the pool when closed.</remarks>
237237
public static void ClearPool(SqliteConnection connection)
238238
=> connection.PoolGroup.Clear();
239239

@@ -690,22 +690,22 @@ public virtual void BackupDatabase(SqliteConnection destination, string destinat
690690
}
691691

692692
/// <summary>
693-
/// Returns schema information for the data source of this conneciton.
693+
/// Returns schema information for the data source of this connection.
694694
/// </summary>
695695
/// <returns>Schema information.</returns>
696696
public override DataTable GetSchema()
697697
=> GetSchema(DbMetaDataCollectionNames.MetaDataCollections);
698698

699699
/// <summary>
700-
/// Returns schema information for the data source of this conneciton.
700+
/// Returns schema information for the data source of this connection.
701701
/// </summary>
702702
/// <param name="collectionName">The name of the schema.</param>
703703
/// <returns>Schema information.</returns>
704704
public override DataTable GetSchema(string collectionName)
705705
=> GetSchema(collectionName, Array.Empty<string>());
706706

707707
/// <summary>
708-
/// Returns schema information for the data source of this conneciton.
708+
/// Returns schema information for the data source of this connection.
709709
/// </summary>
710710
/// <param name="collectionName">The name of the schema.</param>
711711
/// <param name="restrictionValues">The restrictions.</param>

0 commit comments

Comments
 (0)