Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/EFCore.Cosmos/Properties/CosmosStrings.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.Cosmos/Properties/CosmosStrings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
<value>Conflicts were detected for item with id '{itemId}'.</value>
</data>
<data name="UpdateStoreException" xml:space="preserve">
<value>An error occurred while saving the the item with id '{itemId}'. See the inner exception for details.</value>
<value>An error occurred while saving the item with id '{itemId}'. See the inner exception for details.</value>
</data>
<data name="VisitChildrenMustBeOverridden" xml:space="preserve">
<value>'VisitChildren' must be overridden in the class deriving from 'SqlExpression'.</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ protected override Expression VisitExtension(Expression expression)
when TryGetInferredTypeMapping(jsonEachExpression, "value", out var typeMapping):
return ApplyTypeMappingsOnJsonEachExpression(jsonEachExpression, typeMapping);

// Above, we applied the type mapping the the parameter that json_each accepts as an argument.
// Above, we applied the type mapping to the parameter that json_each accepts as an argument.
// But the inferred type mapping also needs to be applied as a SQL conversion on the column projections coming out of the
// SelectExpression containing the json_each call. So we set state to know about json_each tables and their type mappings
// in the immediate SelectExpression, and continue visiting down (see ColumnExpression visitation below).
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore/ChangeTracking/LoadOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public enum LoadOptions
/// Applies no special options to loading of related entities.
/// </para>
/// <para>
/// If the the entity is tracked, then entities with the same primary key value are not replaced
/// If the entity is tracked, then entities with the same primary key value are not replaced
/// by new entities or overwritten with new data from the database. If the entity entity represented by this entry is not
/// tracked and the collection already contains entities, then calling this method will result in duplicate
/// instances in the collection or inverse collection for any entities with the same key value.
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore/ChangeTracking/LocalView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -823,7 +823,7 @@ public virtual IEnumerable<EntityEntry<TEntity>> GetEntries<TProperty>(IProperty
/// See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see> for more information and examples.
/// </para>
/// </remarks>
/// <param name="properties">The the properties to match.</param>
/// <param name="properties">The properties to match.</param>
/// <param name="propertyValues">The values of the properties to match.</param>
/// <returns>An entry for each entity being tracked.</returns>
public virtual IEnumerable<EntityEntry<TEntity>> GetEntries(IEnumerable<IProperty> properties, IEnumerable<object?> propertyValues)
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore/Metadata/Builders/EntityTypeBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1428,7 +1428,7 @@ public virtual EntityTypeBuilder HasNoDiscriminator()
}

/// <summary>
/// Configures a trigger for the the entity type.
/// Configures a trigger for the entity type.
/// </summary>
/// <param name="entityType">The entity type.</param>
/// <param name="modelName">The name of the trigger.</param>
Expand Down
10 changes: 5 additions & 5 deletions src/Microsoft.Data.Sqlite.Core/SqliteConnection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,15 @@ protected override DbProviderFactory DbProviderFactory
/// <summary>
/// Empties the connection pool.
/// </summary>
/// <remarks>Any open connections will not be returned the the pool when closed.</remarks>
/// <remarks>Any open connections will not be returned to the pool when closed.</remarks>
public static void ClearAllPools()
=> SqliteConnectionFactory.Instance.ClearPools();

/// <summary>
/// Empties the connection pool associated with the connection.
/// </summary>
/// <param name="connection">The connection.</param>
/// <remarks>Any open connections will not be returned the the pool when closed.</remarks>
/// <remarks>Any open connections will not be returned to the pool when closed.</remarks>
public static void ClearPool(SqliteConnection connection)
=> connection.PoolGroup.Clear();

Expand Down Expand Up @@ -690,22 +690,22 @@ public virtual void BackupDatabase(SqliteConnection destination, string destinat
}

/// <summary>
/// Returns schema information for the data source of this conneciton.
/// Returns schema information for the data source of this connection.
/// </summary>
/// <returns>Schema information.</returns>
public override DataTable GetSchema()
=> GetSchema(DbMetaDataCollectionNames.MetaDataCollections);

/// <summary>
/// Returns schema information for the data source of this conneciton.
/// Returns schema information for the data source of this connection.
/// </summary>
/// <param name="collectionName">The name of the schema.</param>
/// <returns>Schema information.</returns>
public override DataTable GetSchema(string collectionName)
=> GetSchema(collectionName, Array.Empty<string>());

/// <summary>
/// Returns schema information for the data source of this conneciton.
/// Returns schema information for the data source of this connection.
/// </summary>
/// <param name="collectionName">The name of the schema.</param>
/// <param name="restrictionValues">The restrictions.</param>
Expand Down