error when trying to set "entityCollection type" in the IDE

Posts   
 
    
yogiberr
User
Posts: 432
Joined: 29-Jun-2005
# Posted on: 13-Mar-2007 22:46:19   

version 1.0.2005.1 final (self-servicing) VS2005 asp.net 2.0


hiya,

I am trying to add an llblGenProDataSource to my asp.net 2.0 webform. I can add the llblGenProDataSource from the toolbox.

In the IDE, the DataContainerType is correctly set to "EntityCollection" However, when I try to add the entityCollection type, I get an error:

<<Unable to cast object of type 'dalHamShopEquip.CollectionClasses.EntCskStoreProductCollection' to type 'SD.LLBLGen.Pro.ORMSupportClasses.IEntityCollection'.>>

I know that it is a valid dll, because I can programmatically create an instance of this class and populate it:

   dalHamShopEquip.CollectionClasses.EntCskStoreProductCollection entProductCollection = new EntCskStoreProductCollection();
                
entProductCollection.GetMulti(null);

I assume that the llblgenProDatasource functionality is available in the version that I have bought?

Can anyone help?

cheers,

yogi

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 13-Mar-2007 22:57:06   

llblgenProDatasource was introduced in v. 2.0

yogiberr
User
Posts: 432
Joined: 29-Jun-2005
# Posted on: 13-Mar-2007 23:17:26   

aaah Ok,

I'm actually trying to get the llblgenpro sample project to work that uses the telerik radgrid and llblGenPro datasource, the project is called "llblGenbind"

has anyone managed to get this work by using entityCollections instead of llblGenPro datasources?

cheers,

yogi

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 14-Mar-2007 04:49:59   

I'm pretty sure you can bind entity collections to telerik grids. Is that what you are asking or did I miss part of the first post?

yogiberr
User
Posts: 432
Joined: 29-Jun-2005
# Posted on: 14-Mar-2007 10:45:22   

hiya Brian,

No, you're right.It was more of a question of seeing if there were any showstoppers by going down that route instead of using the llblGenProDataSource. I'll post back if there are any issues.

cheers,

yogi