/ Published in: C#
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
var addresses = from a in context.Addresses select a; foreach (var address in addresses) { if (address.CountryRegion != null) { if (address.CountryRegion.Trim() == "UK") { address.ContactReference.Load(); } } }