my first 8 hours

Posts   
 
    
pauls
User
Posts: 2
Joined: 03-Nov-2006
# Posted on: 03-Nov-2006 03:20:25   

I have just written short programs for nhibernate and llblgenpro and these are some questions and comments.

  1. nhibernate was pretty easy, until you run into lack of documentation on something. The support forum wasn't helpful. But I got the app up and running and populating an infragistics ultragrid. But I'd probably never get a question answered in the forum since I'm a noob.

  2. then on to llblgenpro demo. Watched the tutorial flash presentations. Problem is that this is for net2, and I am using net1.1. The data binding isnt the same. There is no BindingSource class.

  3. In net 1.1 I found the only way to get the infragistics grid to stop hanging was to set MaxBandDepth to 1. Funky.

  4. I added the entitycollection control to the toolbox and set the factory. But there was an error, "Cast not valid" when I dragged it to the form?

  5. I had to add the lines, and the associated References: DataAccessAdapter adapter = new DataAccessAdapter(); adapter.FetchEntityCollection(entityCollection1, null);

to get the grid to show any data. I didn't see this anywhere in the documentation. The 1.1 reference chm is just dry statements of the api, no additional info from what I saw. I had to guess how to do it.

  1. There seem to be no complete sample projects for net2 or net1.1. There are snippets and example code generation projects, but no real project example source. Did I miss this someplace? This would help a lot.

I think the learning curve for llblgenpro is just as steep as nhibernate. I used the llblgenfree for years and it was great.

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 03-Nov-2006 04:24:20   

Please look at the section of the site labeled examples. This has the northwind examples which are done in .net 1.1.

pauls
User
Posts: 2
Joined: 03-Nov-2006
# Posted on: 03-Nov-2006 05:13:49   

Thank you, yes there is a gui client example in there. I sort of see how it works now. Where is the llbl code generation project for this sample? Was it not included for some reason?

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 03-Nov-2006 08:27:20   

It's a Northwind example, so you can easily create the lgp file yourself. There is nothing fancy in there. Just mapp everything from the database as is.