8,497
社区成员
发帖
与我相关
我的任务
分享
public class Student
{
[Key]
public int Id { get; set; }
public string Name { get; set; }
public StudentAddress studentAddress { get; set; }
}
public partial class StudentAddress
{
[Key, ForeignKey("Student")]
public int Studentid { get; set; }
public string City { get; set; }
public string Zipcode { get; set; }
public string Country { get; set; }
public Student Student { get; set; }
}