ASP.Net 2.0 Databinding and LLBLGenPro

Posts   
 
    
Jeff M
User
Posts: 250
Joined: 04-Aug-2004
# Posted on: 01-Jun-2005 01:40:47   

At first glance, it doesn't appear that ASP.Net 2.0 will provide seamless integration with LLBLGenPro Entities. The ObjectDataSource thing needs a DataSet, a DataReader or a strongly-typed collection - and a plain-old entity object doesn't fit that bill.

I tried adding the entity to EntityCollection and passing that EntityCollection to the ObjectDataSource, but that didn't produce the field names for the entity - instead it produced two "fields" - "Fields" and "LLBLGenProEntityName". I tried to substitute "Fields" with "Fields[1]" and Fields["AccName"], but it didn't work.

Anyone have any ideas on this dilemma?

It looks like I'll have to continue to use my modified Web UI components (see: http://www.west-wind.com/presentations/aspnetdatabinding/aspnetdatabinding.asp)

Jeff

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 01-Jun-2005 09:42:54   

I haven't looked into it that much, as I couldn't find much info in what has changed on the matter, i.e.: if you implemented ITypedList before, what you have to do now to get it to work again. What I really can't understand is why ITypedList doesn't work anymore...

Frans Bouma | Lead developer LLBLGen Pro