Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ajcvickers committed Aug 26, 2021
1 parent 2dc6ae7 commit 3d06a39
Show file tree
Hide file tree
Showing 192 changed files with 1,006 additions and 855 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ public static class CosmosServiceCollectionExtensions
/// an optional action to configure the <see cref="DbContextOptions" /> for the context.
/// </para>
/// <para>
/// For more information on how to use this method, see the Entity Framework Core documentation at https://aka.ms/efdocs.
/// For more information on using dependency injection, see https://go.microsoft.com/fwlink/?LinkId=526890.
/// See <see href="https://aka.ms/efcore-docs-di">Using DbContext with dependency injection</see> for more information.
/// </para>
/// </summary>
/// <typeparam name="TContext"> The type of context to be registered. </typeparam>
Expand Down
13 changes: 7 additions & 6 deletions src/EFCore.Proxies/ProxiesServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata.Conventions.Infrastructure;
using Microsoft.EntityFrameworkCore.Proxies.Internal;
Expand All @@ -16,14 +17,14 @@ public static class ProxiesServiceCollectionExtensions
{
/// <summary>
/// <para>
/// Adds the services required for proxy support in Entity Framework. You use this method when
/// using dependency injection in your application, such as with ASP.NET. For more information
/// on setting up dependency injection, see http://go.microsoft.com/fwlink/?LinkId=526890.
/// Adds the services required for proxy support in Entity Framework.
/// </para>
/// <para>
/// You only need to use this functionality when you want Entity Framework to resolve the services it uses
/// from an external dependency injection container. If you are not using an external
/// dependency injection container, Entity Framework will take care of creating the services it requires.
/// Calling this method is no longer necessary when building most applications, including those that
/// use dependency injection in ASP.NET or elsewhere.
/// It is only needed when building the internal service provider for use with
/// the <see cref="DbContextOptionsBuilder.UseInternalServiceProvider" /> method.
/// This is not recommend other than for some advanced scenarios.
/// </para>
/// </summary>
/// <param name="serviceCollection"> The <see cref="IServiceCollection" /> to add services to. </param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ public static class SqlServerServiceCollectionExtensions
/// an optional action to configure the <see cref="DbContextOptions" /> for the context.
/// </para>
/// <para>
/// For more information on how to use this method, see the Entity Framework Core documentation at https://aka.ms/efdocs.
/// For more information on using dependency injection, see https://go.microsoft.com/fwlink/?LinkId=526890.
/// See <see href="https://aka.ms/efcore-docs-di">Using DbContext with dependency injection</see> for more information.
/// </para>
/// </summary>
/// <typeparam name="TContext"> The type of context to be registered. </typeparam>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ public static class SqliteServiceCollectionExtensions
/// an optional action to configure the <see cref="DbContextOptions" /> for the context.
/// </para>
/// <para>
/// For more information on how to use this method, see the Entity Framework Core documentation at https://aka.ms/efdocs.
/// For more information on using dependency injection, see https://go.microsoft.com/fwlink/?LinkId=526890.
/// See <see href="https://aka.ms/efcore-docs-di">Using DbContext with dependency injection</see> for more information.
/// </para>
/// </summary>
/// <typeparam name="TContext"> The type of context to be registered. </typeparam>
Expand Down
6 changes: 3 additions & 3 deletions src/EFCore.Sqlite.Core/Properties/SqliteStrings.Designer.cs

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

6 changes: 3 additions & 3 deletions src/EFCore.Sqlite.Core/Properties/SqliteStrings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<value>'{entityType1}.{property1}' and '{entityType2}.{property2}' are both mapped to column '{columnName}' in '{table}', but are configured with different SRIDs.</value>
</data>
<data name="InvalidMigrationOperation" xml:space="preserve">
<value>SQLite does not support this migration operation ('{operation}'). For more information, see http://go.microsoft.com/fwlink/?LinkId=723262.</value>
<value>SQLite does not support this migration operation ('{operation}'). See http://go.microsoft.com/fwlink/?LinkId=723262 for more information.</value>
</data>
<data name="LogForeignKeyScaffoldErrorPrincipalTableNotFound" xml:space="preserve">
<value>Skipping foreign key with identity '{id}' on table '{tableName}' since principal table '{principalTableName}' was not found in the model. This usually happens when the principal table was not included in the selection set.</value>
Expand Down Expand Up @@ -186,12 +186,12 @@
<comment>Warning SqliteEventId.SchemasNotSupportedWarning</comment>
</data>
<data name="MigrationScriptGenerationNotSupported" xml:space="preserve">
<value>Generating idempotent scripts for migrations is not currently supported for SQLite. For more information, see http://go.microsoft.com/fwlink/?LinkId=723262.</value>
<value>Generating idempotent scripts for migrations is not currently supported for SQLite. See http://go.microsoft.com/fwlink/?LinkId=723262 for more information.</value>
</data>
<data name="OrderByNotSupported" xml:space="preserve">
<value>SQLite does not support expressions of type '{type}' in ORDER BY clauses. Convert the values to a supported type, or use LINQ to Objects to order the results on the client side.</value>
</data>
<data name="SequencesNotSupported" xml:space="preserve">
<value>SQLite does not support sequences. For more information, see http://go.microsoft.com/fwlink/?LinkId=723262.</value>
<value>SQLite does not support sequences. See http://go.microsoft.com/fwlink/?LinkId=723262 for more information.</value>
</data>
</root>
2 changes: 1 addition & 1 deletion src/EFCore/ChangeTracking/ArrayStructuralComparer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace Microsoft.EntityFrameworkCore.ChangeTracking
/// </para>
/// </summary>
/// <remarks>
/// For more information, see <see href="https://aka.ms/efcore-docs-value-comparers">EF Core value comparers</see>.
/// See <see href="https://aka.ms/efcore-docs-value-comparers">EF Core value comparers</see> for more information.
/// </remarks>
/// <typeparam name="TElement"> The array element type. </typeparam>
public class ArrayStructuralComparer<TElement> : ValueComparer<TElement[]>
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore/ChangeTracking/CascadeTiming.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Microsoft.EntityFrameworkCore.ChangeTracking
/// See <see cref="ChangeTracker.CascadeDeleteTiming" /> and <see cref="ChangeTracker.DeleteOrphansTiming" />.
/// </summary>
/// <remarks>
/// For more information, see <see href="https://aka.ms/efcore-docs-cascading">EF Core cascade deletes and deleting orphans</see>.
/// See <see href="https://aka.ms/efcore-docs-cascading">EF Core cascade deletes and deleting orphans</see> for more information.
/// </remarks>
public enum CascadeTiming
{
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore/ChangeTracking/ChangeTracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ namespace Microsoft.EntityFrameworkCore.ChangeTracking
/// to be directly constructed in your application code.
/// </summary>
/// <remarks>
/// For more information, <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see>.
/// See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see> for more information.
/// </remarks>
public class ChangeTracker : IResettableService
{
Expand Down
4 changes: 2 additions & 2 deletions src/EFCore/ChangeTracking/ChangeTrackerDebugStringOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ namespace Microsoft.EntityFrameworkCore.ChangeTracking
/// Debug string customization options for tracked entities.
/// </summary>
/// <remarks>
/// For more information, <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see> and
/// <see href="https://aka.ms/efcore-docs-debug-views">EF Core debug views</see>.
/// See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see> and
/// <see href="https://aka.ms/efcore-docs-debug-views">EF Core debug views</see> for more information.
/// </remarks>
[Flags]
public enum ChangeTrackerDebugStringOptions
Expand Down
4 changes: 2 additions & 2 deletions src/EFCore/ChangeTracking/ChangeTrackerExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Microsoft.EntityFrameworkCore
/// Extension methods for <see cref="ChangeTracker" />.
/// </summary>
/// <remarks>
/// For more information, <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see>.
/// See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see> for more information.
/// </remarks>
public static class ChangeTrackerExtensions
{
Expand All @@ -31,7 +31,7 @@ public static class ChangeTrackerExtensions
/// </para>
/// </summary>
/// <remarks>
/// For more information, <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see>.
/// See <see href="https://aka.ms/efcore-docs-change-tracking">EF Core change tracking</see> for more information.
/// </remarks>
/// <param name="changeTracker"> The metadata item. </param>
/// <param name="options"> Options for generating the string. </param>
Expand Down
30 changes: 16 additions & 14 deletions src/EFCore/ChangeTracking/CollectionEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ namespace Microsoft.EntityFrameworkCore.ChangeTracking
/// </para>
/// </summary>
/// <remarks>
/// For more information, <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>,
/// See <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>,
/// <see href="https://aka.ms/efcore-docs-changing-relationships">Changing foreign keys and navigations</see>,
/// and <see href="https://aka.ms/efcore-docs-load-related-data">Loading related entities</see>.
/// and <see href="https://aka.ms/efcore-docs-load-related-data">Loading related entities</see> for more information.
/// </remarks>
public class CollectionEntry : NavigationEntry
{
Expand Down Expand Up @@ -86,8 +86,9 @@ private void LocalDetectChanges()
/// for the context to detect the change.
/// </summary>
/// <remarks>
/// For more information, <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>
/// and <see href="https://aka.ms/efcore-docs-changing-relationships">Changing foreign keys and navigations</see>.
/// See <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>
/// and <see href="https://aka.ms/efcore-docs-changing-relationships">Changing foreign keys and navigations</see>
/// for more information.
/// </remarks>
public new virtual IEnumerable? CurrentValue
{
Expand All @@ -101,8 +102,9 @@ private void LocalDetectChanges()
/// when <see cref="DbContext.SaveChanges()" /> is called.
/// </summary>
/// <remarks>
/// For more information, <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>
/// and <see href="https://aka.ms/efcore-docs-changing-relationships">Changing foreign keys and navigations</see>.
/// See <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>
/// and <see href="https://aka.ms/efcore-docs-changing-relationships">Changing foreign keys and navigations</see>
/// for more information.
/// </remarks>
public override bool IsModified
{
Expand Down Expand Up @@ -214,8 +216,8 @@ public override bool IsModified
/// </para>
/// </summary>
/// <remarks>
/// For more information, <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>
/// and <see href="https://aka.ms/efcore-docs-load-related-data">Loading related entities</see>.
/// See <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>
/// and <see href="https://aka.ms/efcore-docs-load-related-data">Loading related entities</see> for more information.
/// </remarks>
public override void Load()
{
Expand All @@ -236,13 +238,13 @@ public override void Load()
/// Note that entities that are already being tracked are not overwritten with new data from the database.
/// </para>
/// <para>
/// Multiple active operations on the same context instance are not supported. Use <see langword="await" /> to ensure
/// Multiple active operations on the same context instance are not supported. Use <see langword="await" /> to ensure
/// that any asynchronous operations have completed before calling another method on this context.
/// </para>
/// </summary>
/// <remarks>
/// For more information, <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>
/// and <see href="https://aka.ms/efcore-docs-load-related-data">Loading related entities</see>.
/// See <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>
/// and <see href="https://aka.ms/efcore-docs-load-related-data">Loading related entities</see> for more information.
/// </remarks>
/// <param name="cancellationToken"> A <see cref="CancellationToken" /> to observe while waiting for the task to complete. </param>
/// <returns> A task that represents the asynchronous save operation. </returns>
Expand All @@ -267,8 +269,8 @@ public override Task LoadAsync(CancellationToken cancellationToken = default)
/// </para>
/// </summary>
/// <remarks>
/// For more information, <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>
/// and <see href="https://aka.ms/efcore-docs-load-related-data">Loading related entities</see>.
/// See <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>
/// and <see href="https://aka.ms/efcore-docs-load-related-data">Loading related entities</see> for more information.
/// </remarks>
public override IQueryable Query()
{
Expand All @@ -284,7 +286,7 @@ private void EnsureInitialized()
/// The <see cref="EntityEntry" /> of an entity this navigation targets.
/// </summary>
/// <remarks>
/// For more information, <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see>.
/// See <see href="https://aka.ms/efcore-docs-entity-entries">Accessing tracked entities in EF Core</see> for more information.
/// </remarks>
/// <param name="entity"> The entity to get the entry for. </param>
/// <value> An entry for an entity that this navigation targets. </value>
Expand Down
Loading

0 comments on commit 3d06a39

Please sign in to comment.