Skip to content

Commit 8f2dbe5

Browse files
authored
Update one-to-one.md (#4311)
1 parent 1c68ef6 commit 8f2dbe5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entity-framework/core/modeling/relationships/one-to-one.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ For cases where the navigations, foreign key, or required/optional nature of the
445445
-->
446446
[!code-csharp[OneToOneRequiredFromDependentNoNavigationToDependents](../../../../samples/core/Modeling/Relationships/OneToOne.cs?name=OneToOneRequiredFromDependentNoNavigationToDependents)]
447447

448-
If configuration starts from the entity with no navigation, then the type of the entity on the other end of the relationship must be explicitly specified using the generic `HasMany<>()` call. For example:
448+
If configuration starts from the entity with no navigation, then the type of the entity on the other end of the relationship must be explicitly specified using the generic `HasOne<>()` call. For example:
449449

450450
<!--
451451
protected override void OnModelCreating(ModelBuilder modelBuilder)

0 commit comments

Comments
 (0)