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.Abstractions/Infrastructure/ILazyLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void SetLoaded(
/// </summary>
/// <param name="entity">The entity on which the navigation property is located.</param>
/// <param name="navigationName">The navigation property name.</param>
/// <returns><see langword="true" />if the navigation is known to be loaded.</returns>
/// <returns><see langword="true" /> if the navigation is known to be loaded.</returns>
bool IsLoaded(
object entity,
[CallerMemberName] string navigationName = "");
Expand Down
8 changes: 4 additions & 4 deletions src/EFCore.Cosmos/Extensions/CosmosEntityTypeExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,31 +239,31 @@ public static void SetPartitionKeyPropertyNames(this IMutableEntityType entityTy
?.GetConfigurationSource();

/// <summary>
/// Returns the the properties that are used to store the hierarchical partition key.
/// Returns the properties that are used to store the hierarchical partition key.
/// </summary>
/// <param name="entityType">The entity type.</param>
/// <returns>The hierarchical partition key properties.</returns>
public static IReadOnlyList<IReadOnlyProperty?> GetPartitionKeyProperties(this IReadOnlyEntityType entityType)
=> entityType.GetPartitionKeyPropertyNames().Select(n => entityType.FindProperty(n)!).ToList();

/// <summary>
/// Returns the the properties that are used to store the hierarchical partition key.
/// Returns the properties that are used to store the hierarchical partition key.
/// </summary>
/// <param name="entityType">The entity type.</param>
/// <returns>The hierarchical partition key properties.</returns>
public static IReadOnlyList<IMutableProperty?> GetPartitionKeyProperties(this IMutableEntityType entityType)
=> entityType.GetPartitionKeyPropertyNames().Select(n => entityType.FindProperty(n)!).ToList();

/// <summary>
/// Returns the the properties that are used to store the hierarchical partition key.
/// Returns the properties that are used to store the hierarchical partition key.
/// </summary>
/// <param name="entityType">The entity type.</param>
/// <returns>The hierarchical partition key properties.</returns>
public static IReadOnlyList<IConventionProperty?> GetPartitionKeyProperties(this IConventionEntityType entityType)
=> entityType.GetPartitionKeyPropertyNames().Select(n => entityType.FindProperty(n)!).ToList();

/// <summary>
/// Returns the the properties that are used to store the hierarchical partition key.
/// Returns the properties that are used to store the hierarchical partition key.
/// </summary>
/// <param name="entityType">The entity type.</param>
/// <returns>The hierarchical partition key properties.</returns>
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore.Relational/Query/PathSegment.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public PathSegment(string propertyName)
/// <summary>
/// Creates a new <see cref="PathSegment" /> struct representing JSON array element access.
/// </summary>
/// <param name="arrayIndex"><see langword="abstract" />An index of an element which is being accessed in the JSON array.</param>
/// <param name="arrayIndex">An index of an element which is being accessed in the JSON array.</param>
public PathSegment(SqlExpression arrayIndex)
{
ArrayIndex = arrayIndex;
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore/Diagnostics/IInterceptors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Microsoft.EntityFrameworkCore.Diagnostics;
/// </summary>
/// <remarks>
/// <para>
/// The service lifetime is <see cref="ServiceLifetime" />. This means that each
/// The service lifetime is <see cref="ServiceLifetime.Scoped" />. This means that each
/// <see cref="DbContext" /> instance will use its own instance of this service.
/// The implementation may depend on other services registered with any lifetime.
/// The implementation does not need to be thread-safe.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ namespace Microsoft.EntityFrameworkCore.Infrastructure;
/// Framework services.
/// </para>
/// <para>
/// Relational providers should use 'EntityFrameworkRelationalServicesBuilder instead.
/// Relational providers should use 'EntityFrameworkRelationalServicesBuilder' instead.
/// </para>
/// <para>
/// Entity Framework ensures that services are registered with the appropriate scope. In some cases a provider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ namespace Microsoft.EntityFrameworkCore.Query;
/// services using the C# 'with' operator. Do not call the constructor at any point in this process.
/// </para>
/// <para>
/// The service lifetime is <see cref="ServiceLifetime.Singleton" /> and multiple registrations
/// are allowed. This means a single instance of each service is used by many <see cref="DbContext" />
/// instances. The implementation must be thread-safe.
/// This service cannot depend on services registered as <see cref="ServiceLifetime.Scoped" />.
/// The service lifetime is <see cref="ServiceLifetime.Scoped" />. This means that each
/// <see cref="DbContext" /> instance will use its own instance of this service.
/// The implementation may depend on other services registered with any lifetime.
/// The implementation does not need to be thread-safe.
/// </para>
/// </remarks>
public sealed record ShapedQueryCompilingExpressionVisitorDependencies
Expand Down
2 changes: 1 addition & 1 deletion src/Shared/ExpressionVisitorExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static IReadOnlyList<Expression> Visit(this ExpressionVisitor visitor, IR
/// <typeparam name="T">The type of the expression.</typeparam>
/// <param name="visitor">The expression visitor.</param>
/// <param name="nodes">The expression to visit.</param>
/// <param name="callerName">The name of the calling method; used to report to report a better error message.</param>
/// <param name="callerName">The name of the calling method; used to report a better error message.</param>
/// <returns>
/// The modified expression, if it or any subexpression was modified; otherwise, returns the original expression.
/// </returns>
Expand Down
Loading