This documentation is archived and is not being maintained.
How to: Filter at the DataContext Level (LINQ to SQL)
.NET Framework 3.5
You can filter EntitySets at the DataContext level. Such filters apply to all queries done with that DataContext instance.
In the following example, DataLoadOptions::AssociateWith(LambdaExpression) is used to filter the pre-loaded orders for customers by ShippedDate.
Show: