Browse Source

Update docs/en/framework/infrastructure/object-to-object-mapping.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
pull/24759/head
Ma Liming 1 week ago
committed by GitHub
parent
commit
e6e5a22243
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/framework/infrastructure/object-to-object-mapping.md

2
docs/en/framework/infrastructure/object-to-object-mapping.md

@ -337,7 +337,7 @@ Example:
public class PersonDto
{
public Country? Country { get; set; } // Nullable (can be null)
public City City { get; set; } // Non-nullable (cannot be null)
public City City { get; set; } = default!; // Non-nullable (cannot be null)
}
````

Loading…
Cancel
Save