I have a class Product and a complex type AddressDetails
Product
AddressDetails
public class Product { public Guid Id { get; set; } public Addres
Try this
modelBuilder.ComplexType().Ignore(p => p.Country);
It worked for me in similar case.