It works the same as with any list. You create a factory that accepts the parameter, pass the value through the data portal in a criteria object and use the value in the fetch method.
public static MyList GetList(int month, ... callback)
{
var dp = new DataPortal<MyList>();
dp.FetchCompleted += callback;
dp.BeginFetch(new SingleCriteria<MyList, int>(month));
}
#if !SILVERLIGHT
private void DataPortal_Fetch(SingleCriteria<MyList, int> criteria)
{
// retrieve filtered list here
}
#endif
Copyright (c) Marimer LLC