All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

Business Model Design

This section explains how to design a business model (database) for an application built with the eXpressApp Framework.

You will learn how to complete the following tasks:

  • Create business classes mapped to database tables
  • Specify relationships between classes
  • Implement dependent properties
  • Add property value validation

You can design a business model in any of the following ways:

  • Use the DevExpress Business Class Library

    The Business Class Library includes frequently used business classes, such as Person, Event, Task, etc. You can use a class from this library as is, or inherit and extend it.

  • Build Custom Classes

    If you use XPO, inherit your business objects from Base Persistent Classes.

TIP

For information on how to build an application based on an existing database, refer to the following topic: How to: Generate XPO Business Classes for Existing Data Tables.

Once you complete the tutorial, your basic Blazor CRUD application will look as shown in the image below.

Tutorial_BMD_Lesson0_1

Proceed to Create a Solution using the Wizard to start the tutorial.