Back to Devexpress

Business Model Design

expressappframework-112730-getting-started-in-depth-tutorial-winforms-webforms-business-model-design.md

latest2.2 KB
Original Source

Business Model Design

  • Jun 25, 2021
  • 2 minutes to read

Note

This section is split into two parts, which describe the use of two different Object-relational mapping (ORM) tools: Entity Framework 6 (EF 6) and eXpress Persistent Objects (XPO). You will start by choosing the one ORM you will use in your project and the subsequent steps will reflect your choice.

In this section, you will learn how to design a business model (database) when building business applications via the eXpressApp Framework. You will create business classes that will be mapped to database tables. You will also learn how to set relationships between classes, implement dependent properties, validate property values, and so on.

To design a business model, the following techniques will be used.

  • Use the Business Class Library

  • From Scratch

Tip

If you need to build an application based on an existing database, refer to the How to: Generate XPO Business Classes for Existing Data Tables or Use Entity Framework 6 with an Existing Database topic.

After completing the tutorial, you will have WinForms and ASP.NET Web Forms applications.

The ASP.NET Web Forms application will provide almost the same functionality, but via a slightly different set of visual elements.

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