学习003 Plug-in MVC Architecture(插件式 MVC 架构 )

Plug-in MVC Architecture(插件式 MVC 架构 )

Applications built with the XAF consist of multiple functional blocks. The diagram below:
使用XAF构建的应用程序由多个功能块组成。下图:
在这里插入图片描述

  • Shows the basic blocks.
  • 显示基本块。
  • Indicates when and how these blocks are created.
  • 指示何时以及如何创建这些块。
  • Shows you the areas where you can extend your applications.
  • 向您展示可以扩展应用程序的区域。

This topic overviews each application building block.
本主题概述每个应用程序构建块。

Storage(存储)

ORM Layer(ORM层)

XAF works with data via an ORM Layer. With ORM, you have no need to create a database, configure tables, relations, and so on: ORM create a database for you.
XAF通过ORM层处理数据。使用ORM,您无需创建数据库、配置表、关系等:ORM为您创建数据库。
XAF supports the following ORMs:
XAF支持以下ORM:

  • eXpressPersistent Objects (XPO)
  • Entity Framework Core
    ORM tools allow you to use familiar code structures (classes, properties, and their attributes) to describe data for your application:
    ORM工具允许您使用熟悉的代码结构(类、属性及其属性)来描述应用程序的数据:
  • To create a data table, declare a class.
  • 要创建数据表,请声明一个类。
  • Class’ public properties define data fields in the data table.
  • 类的公共属性定义数据表中的数据字段。
  • The actual data set is a collection of class instances.
  • 实际的数据集是类实例的集合。
  • To specify relations between tables, decorate classes and properties with specially designed attributes.
  • 为指定表之间的关系,使用专门设计的属性来修饰类和属性。

XAF uses the Microsoft SQL Server by default. To change a DBMS used by your application, modify a connection string as described in the following topic: Connect an XAF Application to a Database Provider.
XAF默认使用MicrosoftSQL服务器。要更改应用程序使用的DBMS,请按照以下主题中的说明修改连接字符串:将XAF应用程序连接到数据库提供程序。

Business Class Library(业务类库)

The Business Class Library implements the following:
业务类库实现以下内容:

  • Classes that define frequently used entities like Person, Note, Organization, etc. You can review the source code of these classes for information on how to implement your data structures. Most custome
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

汤姆•猫

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值