|
|
|
Example projects
|
| |
On this page you'll find example projects which illustrate various aspects of the generated code. Except for HnD, all example projects are using the Northwind database or SQL server.
Also, be sure you have a recent LLBLGen Pro demo or full installation (v2.6), otherwise you will probably run into compile problems, which can be fixed by using the latest demo version.
This example shows, using SqlServer's Northwind database how LLBLGen Pro v2.6 can work seamlessly with WCF, either using TCP or HTTP bindings, using normal XML or binary encoding. It's an altered version of our Northwind C# example for Adapter, using a service instead of directly the DAL. It is similar to our remoting example.
The example also contains IIS wsHTTPBindings specific files for hosting the WCF service in IIS.
This example shows, using SqlServer's Northwind database how LLBLGen Pro v2.6's fast remoting feature works. It's an altered version of our Northwind C# example for Adapter, using a service instead of directly the DAL.
This example shows, using SqlServer's Northwind database how LLBLGen Pro v2.6's validation functionality works, using all options available to you: dependency injected validator classes, extended entity classes overriding validation methods and adding validators through overriding the create method. Adapter example uses ASP.NET, SelfServicing example uses WinForms.
Sourcecode is in C#.
This example shows, using SqlServer's Northwind database, how the LLBLGen Pro authorization logic works. Uses .NET 2.0 winforms and Adapter. For Selfservicing users the usage is roughly the same, so teh example is usable for SelfServicing users as well.
Source code is in C#.
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#.
This example shows, using SqlServer's Northwind database with additional tables for audit info, how LLBLGen Pro v2.6's auditing functionality works, with three different auditing classes in both ASP.NET 2.0 and windows forms and both Adapter and SelfServicing. The example also shows how to use the LLBLGen Pro dependency injection functionality to setup the auditors.
Sourcecode is in C#.
To show the power of LLBLGen Pro, we built HnD, the forums on our website. HnD stands for Help and Discuss and is a full ASP.NET 2.0 application using LLBLGen Pro produced code for 100% of the data-access functionality. It offers site owners a flexible and fast customer support system with, among other features: email notification, attachments, secure forums so only the topic starter and people with a given action right can see / access the thread, print-specific view of a thread, search etc. etc. It's been released as open source software (using the GPL v2 license) and you can download and use it for free.
Visit the HnD website
This example shows how to use the LLBLGenProDataSource control for ASP.NET 2.0 in a Northwind based databinding - CRUD (Create Read Update Delete) application using the Products/Suppliers data.
Example is for SelfServicing and written in C#. Adapter users also will benefit from this example as the code is easy ported to Adapter. You'll need a Northwind installation on SqlServer 2000/2005 to run the example. The example comes with a readme.pdf which guides you through setting everything up.
The example illustrates, among other things: - List, View/Edit, Add pages - GridView and DetailsView - LLBLGenProDataSource - Drop-down boxes for related fields - In-line editing and editing via separate page - Sorting and paging working together - Sorting and paging settings persist across pages - Validation of required fields - Database error handling and reporting - Success and error messages including cross page messaging - Nullable columns
Example was written by Dave Weber of TerpSys
This example shows how to setup a winforms form using complex databinding to get a grid which is easy to edit due to the combo-boxes filled with related entity data.
The form shows the orders for a given customer and lets you specify the Employee and the Shipper using combo boxes in the grid, instead of having to specify ID's.
This example illustrates the SelfServicing templates.
This example shows how to setup a winforms form using complex databinding to get a grid which is easy to edit due to the combo-boxes filled with related entity data. VS.NET 2005 specific.
The form shows the orders for a given customer and lets you specify the Employee and the Shipper using combo boxes in the grid, instead of having to specify ID's.
This example illustrates the adapter templates.
Last updated: 6-Jun-2008 (v2.6 port)
Note: you need to have the latest demo or full version of LLBLGen Pro (v2.6) installed on your system, because this archive doesn't contain the runtime libraries.
C# example for Northwind database, using a Visual Studio.NET 2005 project.
Example illustrates: transactions, entity collections, complex databinding, filtering, sorting, entity usage and events. Please read the readme.htm for important details.
This example illustrates the SelfServicing templates.
Last updated: 6-Jun-2008 (v2.6 port)
Note: you need to have the latest demo or full version of LLBLGen Pro (v2.6) installed on your system, because this archive doesn't contain the runtime libraries.
C# example for Northwind database, using a Visual Studio.NET 2005 project.
Example illustrates: transactions, entity collections, complex databinding, filtering, sorting, entity usage and events. Please read the readme.htm for important details.
This example illustrates the Adapter templates.
Last updated: 6-Jun-2008 (v2.6 port)
Note: you need to have the latest demo or full version of LLBLGen Pro (v2.6) installed on your system, because this archive doesn't contain the runtime libraries.
VB.NET example for Northwind database, using a Visual Studio.NET 2005 project.
Example illustrates: transactions, entity collections, complex databinding, filtering, sorting, entity usage and events. Please read the readme.htm for important details.
This example illustrates the SelfServicing templates.
Last updated: 6-Jun-2008 (v2.6 port)
Note: you need to have the latest demo or full version of LLBLGen Pro (v2.6) installed on your system, because this archive doesn't contain the runtime libraries.
VB.NET example for Northwind database, using a Visual Studio.NET 2005 project.
Example illustrates: transactions, entity collections, complex databinding, filtering, sorting, entity usage and events. Please read the readme.htm for important details.
This example illustrates the Adapter templates.
Last updated: 6-Jun-2008 (v2.6 port)
Note: you need to have the latest demo or full version of LLBLGen Pro (v2.6) installed on your system, because this archive doesn't contain the runtime libraries.
|
|
"My company is Rhinosoft Pty Ltd, based in Melbourne Australia.
The team has been using LLBLGen for several months now in a production application and the time savings can only be imagined. Our DBA has
profiled the SQL produced by LLBLGen and has agreed the results may put him out of a job ;-)
We can turn around and develop some wonderful code which before LLBLGen would have taken days to develop and debug – be a hero and get
this product."
Graeme Anderson
Director Rhinosoft
"LLBLGen Pro really boosted our .NET development by offering a strongly typed and intuitive way to access our databases.
Our specific requirements (mutation-logging and concurrency-checking in a SOA architecture) were easy to implement by extending
the generated C# classes.
After using LLBLGen Pro for more than a year, I won't be using 'plain ADO.NET' anymore for any project.
And finally: the technical support by the LLBLGen Pro team is excellent (better than every other third-party product I've used)."
Dion Olsthoorn
Lead Developer, Macaw
|
|
|