Ok folks...
I am working on trying to figure out the best (last painfull) way of using LLBLGEN code with VS 2005.
The idea is to use as much of the new ASP.Net data source stuff (ObjectDataSource) so we can use as much of the design time tools as possible.
What I have been doing is creating a "DAO" class for each entity. The DAO has properties on it that return an EntityCollection2 or the Entity. So an example for a CustomerEntity might be a CustomerDAO with methods such as:
GetById()
GetByState()
GetByRegion()
etc...
Then, I point the ObjectDataSource to these classes/methods to get the data. One problem is, since the collections aren't strongly typed all of the drop downs don't work, so I have to manually enter the property names for column values, etc.
Is this the right approach? Any feed back would be great.
Frans?
Now, to version 2.0, I would assume that since it supports generics the collections I could return would be strongly typed which would allow more of the design time drop downs and such to work?
If I use the approach above will this work with what you are doing in 2.x? Or will there be objects/methods in 2.0 already inplace to replace my DAO objects?
Thanks,
BOb