mdmasonmbcs wrote:
Hi,
I read Frans Bouma's Blog on using LLBLGenPro datasource control with generated code. Being lazy I used cut and paste to copy the code into project files. I found that there are several errors in the code which distracted me from the tutorials main aim.
No code solutions are fine if the problem is simple and there are no errors. Unfortunately, the real world, things are not as simple and being human developers do make mistakes. With no code, error tracking can be tough walking through other peoples code without detailed understanding of the underlying structure.
I found the following problems with the tutorial:-
The post wasn't a tutorial per se, it was a posting about what the datasourcecontrol could do.
You copy/pasted code, which might have resulted into a mistake somewhere.
- Inexplicable none display problems with Gridview and LLBLGenPro datasource. MS SQLDatasource and grid seemed to work together better.
Well, it works here, so I can't help you without your own code.
- Adding the extension to CustomerEntiry partical class resulted in errors to do with Fields element. Adding EntityBase2 only produced further errors to do with not implementing other abstract methods.
What kind of errors exactly? We can't help you if you don't paste the errors here.
- The final HTML page used for paging does not conform to XHTML 1.0
I'm sorry, but that wasn't the intention. I'm sure the HTML violated some kind of standard or had the wrong doctype according to some people. I fail to see why it's LLBLGen Pro's job to comply to some XHTML 1.x standard if it doesn't do anything with HTML generation at all.
The post you refer to was a showcase how stuff which was presented by Scott Guthrie as 'Linq features' could be done with LLBLGen Pro today. That's it. I still think that if you followed all the steps to the letter it should result in a working app.
Sorry to whinge, but I've spent time looking at the use of this products as against developing our own layer. It's a good system but does have some issues.
Sorry to have dissapointed you, but could you answer to me why you would judge our massive feature set based on your copy/paste work which didn't succeed? Have you followed the steps to the letter or have you just copy/paste some code over and that didn't work and you then concluded our work wasn't good enough?
And, have you for example looked at our big ASP.NET example HnD (which is this forum system)? http://www.llblgen.com/hnd
This forum system is provided in full sourcecode as an example how to use LLBLGen Pro in an ASP.NET environment.