Tutorial: Generating code.

Preface

In the previous tutorial, we created an LLBLGen Pro project in the designer, mapped some entities, a typed view and a retrieval stored procedure call. In this tutorial, we'll use that project to create some sourcecode so we can use the mapped elements in our own programs. A similar (more limited) tutorial is also available in a Flash movie format on our website: Tutorial - Designer: Generate code (opens in new window)

Generating sourcecode

Please follow the following steps to generate sourcecode from the project we've created in the previous tutorial. This tutorial will be for C# and will generate .NET 2.0 code for either Adapter or SelfServicing. If you're more into VB.NET, you should select VB.NET instead of C#. The following tutorials will have sourcecode for VB.NET as well.

You'll now have generated code, ready to be used in your own application, which represents the elements you've designed in the designer: the entities, the typed view and the retrieval stored procedure call. In the next tutorial we'll set things up in VS.NET 2005 and will do something interesting with it.

LLBLGen Pro v2.6 documentation. ©2002-2008 Solutions Design