Skip to content

Commit 3ddb6a2

Browse files
authored
Update DefaultEntityRepository.cs
1 parent 65f8a3a commit 3ddb6a2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/JsonApiDotNetCore/Data/DefaultEntityRepository.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ public virtual async Task<TEntity> CreateAsync(TEntity entity)
171171
/// <summary>
172172
/// Loads the inverse relationships to prevent foreign key constraints from being violated
173173
/// to support implicit removes, see https://github.com/json-api-dotnet/JsonApiDotNetCore/issues/502.
174-
///
175-
/// example:
174+
/// <para/>
175+
/// Consider the following example:
176176
/// person.todoItems = [t1,t2] is updated to [t3, t4]. If t3, and/or t4 was
177177
/// already related to a other person, and these persons are NOT loaded in to the
178178
/// db context, then the query may cause a foreign key constraint. Loading

0 commit comments

Comments
 (0)