Required one-to-one Dependents
Required one-to-one Dependents
public class Customer
{
public int Id { get; set; }
public string Name { get; set; }
public Address HomeAddress { get; set; }
public Address BillingAddress { get; set; }
}
public class Address
{
public string Street { get; set; }
public string City { get; set; }
public string State { get; set; }
public string Country { get; set; }
}Last updated
