Sample Applications

The ORM.NET installation includes several sample applications as a way to demonstrate how to work with the generated data object model. You can use these applications to learn how to use, customize and become productive using ORM.NET on your own projects. All of the included applications are available in either C# or VB.NET.

 

 

We recommend the following steps in order to become productive using ORM.NET.

 

  1. If you have not already done so, install the sample applications and databases. See the Section Setup Sample Applications and Databases.

  2. Follow through the steps in the section  Use ORM.NET in Six Simple Steps under the Quick Start section.  This will quickly take you through the process of using ORM.NET to connect to a database (OleroTraining ), view the object model properties, generate and then use the data object model.

  3. Review the Code Examples section. This section uses the OleroTraining sample application to walk through how to retrieve and display data as well as performing inserts updates and deletes using ORM.NET. Most of these examples are also in the OleroTraining sample application.

  4. Walk through the steps and highlights included within the documentation by clicking the links below.

 

Sample Applications Included with ORM.NET

 

 

Name

Description

OleroTraining

 

A simple console application which has several examples showing how to use the generated object model to retrieve, insert, update and delete data from the sample Olero Training database. Explains usage of the JoinPath and FetchPath and MatchType objects. In addition, examples show how to insert, update, and delete data using the DataManager CommitAll method.

Employee Viewer  

 

 

A Windows form application which shows basic databinding operations using Windows Text, Combo and List boxes. This application also shows examples of how to customize the data objects to work with Join Tables and to create custom properties.

NorthWind Orders

Another Windows application which shows more complex databinding examples using DataGrids. This example also shows how to insert new records