smcleod_au wrote:
Ok, well I'm glad it wasn't me then. I figure if you're having trouble with it then it's ok that I do. Have you tried it in Visual Studio 2005 proper? Not the express versions? does it work in those? I've ordered the full version beta on CD but probably won't be here for a week or 2.
This was done in vs.net 2005 team system (enterprise edition, thus the full version).
The design time requirements are different with vs.net 2005. Which is particularly sad, because now a lot of code has to be changed. That would be ok, if there was proper documentation, but it's trial/error and look around for sparse info. Everyone talks about how to use objectdatasource, but not a lot talk about how to make your own class/collection work with objectdatasource.
After the article series I found yesterday I understand more the purpose of it, and I see why it doesn't work with normal entities, at least not in design time mode. A thin wrapper class is needed.
Otherwise, from the look of those articles it would appear further implementation in Llblgen is required to get the design time interfaces working for VS2005...?
Yes, new code for that has to be added (ASP.NET) and some code has to be removed (Winforms). As vs.net 2005 is still in beta, I'm reluctant to invest a lot of time in behavior which can/probably will change in the RTM version. Especially in asp.net where a lot of changes have been made after beta2.
Nevertheless, 1.0.2005.1 will have a .NET 2.0 native build of the runtime libs (the .NET 1.1 code build with the .NET 2.0 beta2 compiler) and basic code which allows you to do very basic design time databinding, nothing fancy. It will probably not work always, as its .NET 1.1 code still.