Dotnet, Efcore.
get; set; } // Navigation public UserProfileEntity Profile {get;set;} public UserCredentialsEntity Credentials {get;set;} } public class UserCredentialsEntity { [Key] public UserId Id { get; set; } // in this case its FK and PK at the same time // Navigation public UserEntity User { get;set; } //