It looks like some funny behaviour.
I'm reading that this happens with datagrids when the objects are of different types.
I'm bringing back 'App' Entiies - which are the SuperType of many othet objects.
(See Function Below)
But in this case - it is all one type...I'm only bring back the AppEtities...so this error should not happen...unless LLBLgen is trying to bring in the SubTypes...Which it looks like its doing
Does LLBLGen bring in the subtypes even when only requesting the SuperTypes?
THE FUNCTION
public void FillAppList(int UserId)
{
EntityCollection<AppEntity> MyApps = null;
using (DataAccessAdapter adapter = new DataAccessAdapter())
{
LinqMetaData metaData = new LinqMetaData(adapter);
var q = from c in metaData.App
where c.UserId == UserId
orderby c.Title
select c;
MyApps = ((ILLBLGenProQuery)q).Execute<EntityCollection<AppEntity>>();
this.GridView1.DataSource = MyApps;
this.GridView1.DataBind();
}