I'm trying to learn LINQ to SQL and i've found out about the LoadWith function. All the examples i've found will load all records from the table you specify in the LoadWith function e.g.
var dlo = new DataLoadOptions();
dlo.LoadWith<Blog>(b => b.Posts);
this.LoadOptions = dlo;
What I would like to know is if it's possible to load in this example only the last blog post?
I've tried
dlo.LoadWith<Blog>(b => b.Posts.Max());
But it doesn't like that syntax.