Hi Darek,
Smi-mark sugestion will definitely solve your issue regarding the "unable to locate type error".
However, if you only intend to display the results in a grid, you won't really need a new type. You could instead use an anonymous projection.
Note that anonymous types cannot be bound to the Silverlight DataGrids. Being that said, DevForce supports binding to anonymous types by using the DynamicTypeConverter (IdeaBlade.Core.DynamicTypeConverter):
var myCollectionViewSource = (System.Windows.Data.CollectionViewSource)this.Resources["gridViewSource"];
var qry = mgr.FACT_TRANSACTION
.Select(s1=>new {A=s1.DIM_POLICY.POLICY_ID,B=s1.DIM_LOCAL_PRODUCT.LOCAL_PRODUCT_NAME})
.Take(100);
var op = qry.ExecuteAsync();
op.Completed += (s, args) => {
var t1 = args.Results.ToList();
myCollectionViewSource.Source = DynamicTypeConverter.Convert(args.Results);
};
Silvio.