Logo LLBLGen Pro
LLBLGen
  customer ID:
password:
     Forgot password?  
LLBLGen
 Buy now!  |  Download trial  |  About LLBLGen Pro  |  Support   

Product info
* Overview
* Why use LLBLGen Pro?
* Features
* Screenshots
* Customer benefits
* Requirements
* Videos
* Pricing

Downloads
* Trial
* Documentation
* Examples

Support
* Forums
* Partners
* Consultancy
* Online documentation

Misc
* Our customers
* Showcases
* LLBLGen Pro merchandise
 







 

Example projects

 
On this page you'll find example projects which illustrate various aspects of the generated code. All example projects are using the Northwind database or SQL server.

Also, be sure you have a recent LLBLGen Pro trial or full installation (v3.0)



WCF example using C# and Adapter. download

This example shows, using SqlServer's Northwind database how LLBLGen Pro v3.0 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.


Remoting Example using C# and Adapter download

This example shows, using SqlServer's Northwind database how LLBLGen Pro v3.0'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.




Validation example for both ASP.NET and Windows Forms download

This example shows, using SqlServer's Northwind database how LLBLGen Pro v3.0'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#.



Winforms Authorization example download

This example shows, using SqlServer's Northwind database, how the LLBLGen Pro authorization logic works. Uses winforms and Adapter. For Selfservicing users the usage is roughly the same, so the example is usable for SelfServicing users as well.

Source code is in C#.


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#.


Auditing example in both ASP.NET and Windows forms download

This example shows, using SqlServer's Northwind database with additional tables for audit info, how LLBLGen Pro v3.0'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#.


ASP.NET 2.0 databinding/CRUD Example download

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 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


Complex databinding example (VS.NET 2005) download

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.


Complex databinding example (VS.NET 2005), Adapter download

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 adapter templates.



Northwind example 1 (C# version) download

C# example for Northwind database, using a Visual Studio.NET 2008 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.




Northwind example 1 (C# version), Adapter download

C# example for Northwind database, using a Visual Studio.NET 2008 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.




Northwind example 1 (VB.NET version) download

VB.NET example for Northwind database, using a Visual Studio.NET 2008 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.



Northwind example 1 (VB.NET version) Adapter download

VB.NET example for Northwind database, using a Visual Studio.NET 2008 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.







"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