Return to Snippet

Revision: 34773
at October 28, 2010 04:19 by housecor


Initial Code
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();
		}
	}
}

Initial URL

                                

Initial Description

                                

Initial Title
Late eager loading of a record using load() method in LINQ

Initial Tags

                                

Initial Language
C#