Jump start into Parent-Child relational CRUD

Posts   
 
    
Les
User
Posts: 13
Joined: 29-Aug-2007
# Posted on: 13-Sep-2007 23:38:45   

Hey Guys,

I have been trying to get the hang of LLBLGen Pro for weeks. I can do the excercises but haven't found any tutorial/example that will show me how to create a simple parent-child relationship and get me jump started.

I am using the Telerik ASP controls. I understand that that you may not want to get into a "show off" Telerik's stuff, and that is OK, I can take it from the following example if you can help me.

As an example, I would like to relate 3 data sources (generated from the Adapter template in C#) to the Customer, Order, and Detail Tables in the Northwind database using relations. I would then like to be able to bind them to FormViews and GridViews and perform some CRUD (create, read, update, delete) on the child tables. I found a CRUD example on in your collection of examples but it had no child table.

This should be a wham-bam for someone who understands how to use LLBLGen. Any help to show me what it is that I am not seeing would be helpful. I would be most grateful if you could point me to some similar existing examples that can get me to feeling comfortable with the generated code. Also point me to helpful areas of the docuemntation.

Also, my 30 day trial period is running out in about a week and while I can do the simple stuff, when it comes to anything complicated, I get bogged down. With a little help, I am hoping to get somewhere with this and sell my boss.

I appear to be a little slow on getting the knack of things here. Is it possible that I could beg off on another 30 days trial when my current trial runs out? I can see a lot of potential in LLBLGen, However, I wouldn’t want to pass it up because I didn't give it a chance and neither would I want to sell it to my boss if I can’t display simple parent-child relationships in gridviews and do some CRUD. This should be simple stuff. But I am having such an embarrassingly tuff time setting it up.

Thanks in advance for your help, Les

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 14-Sep-2007 11:05:43   

As for the examples, please check the following example in the Examples page.

**ASP.NET 2.0 databinding example download **

This example shows, using SqlServer's Northwind database, how the LLBLGen Pro datasource controls for both Adapter and SelfServicing should be used in various scenarios and all kinds of different webforms. Comes with two variants: one Ajax enabled and one normal, non-Ajax based.

Source code is in C#.

Aglaia avatar
Aglaia
LLBLGen Pro Team
Posts: 535
Joined: 07-Sep-2003
# Posted on: 14-Sep-2007 11:42:49   

Hi Les,

I just sent you an email about extending the trial period.

Aglaia

Les
User
Posts: 13
Joined: 29-Aug-2007
# Posted on: 14-Sep-2007 16:03:46   

Walaa, I will get into the example that you recommended and see if it can warm me up. At least I will have more fertile questions after I have digested it. simple_smile

Aglaia, I received your email. Thank you very much. simple_smile

Les