class SampleDb : DataContext {
// ...
[Function(Name = "dbo.CustomersByCountry", IsComposable = true)]
public IQueryable<Customer> CustomersByCountry(string country) {
return this.CreateMethodCallQuery<Customer>(
this,
((MethodInfo) (MethodInfo.GetCurrentMethod())),
country);
}
} 
