WPF: Creating the Language Business Object Classes

One of the first steps you need to take is to create a new Language business object. You can do this using either class MM .NET business entities or Entity Framework entities (used in the steps outlined below).

Creating the Language Entity

  1. If you haven't already done so, create the MM .NET language tables in your database (Step 1: Adding Localization Tables to a Database)

  2. Open your project's Entity Data Model. Right-click the design surface and select Update Model from Database...

  3. Expand the Tables node and select the Language table, then click Finish

  4. In the Entity Data Model change the name of the entity to LanguageEntity

Creating the Associated Language Business Classes

  1. Launch the MM .NET Business Layer Generator. In the first page of the BLG, select the business object project into which you want to generate the Language business object then click Next

  2. In the Specify the Code Generation Settings page of the BLG, make sure all check boxes are selected (including the Entity Framework checkbox), then click Next

  3. In the Select Database Items page of the BLG, select the database that contains the Language tables, then click the Get Data button. In the tree view, select the Language table then click Next

  4. In the Data Access Layer Options page, select Use Dynamic SQL statements then click Next

  5. In the Ready to Generate page, click Finish to generate the business layer classes.

© (c) 2026 Oak Leaf Enterprises, Inc., 1996-2026 • Updated: 04/26/18
Comment or report problem with topic