XAF 应用程序模型中业务模型

应用程序模型中业务模型

 

eXpressApp Framework > Concepts > Application Model > Business Model in the Application Model

With the eXpressApp Framework, only the business model has to be implemented when building a business application. Views for each business class from the business model will be generated automatically. For this purpose, special nodes are created in the Application Model: IModelBOModel, IModelDetailView, IModelListView. This topic explains how the information from the business model is used to generate these nodes. This can be helpful when you analyze or edit the Application Model.

使用eXpressApp Framework当建立一个业务应用程序,只需要实现业务模型。每个业务模型的业务类的视图将被自动生成。为此制定节点在应用程序模型: IModelBOModel, IModelDetailView, IModelListView内建立。这个主题解释如何由业务模型生成这些节点。

The following diagram demonstrates information flow from the business model through the Application Model:

下图演示应用程序模型中业务模型信息流程:

Note

By default, Lookup List Views contain a single column which corresponds to the property specified by the IModelClass.DefaultProperty property of the IModelClass node.

备注

默认情况下,查找列表视图包含一列由对应的IModelClass节点IModelClass.DefaultProperty属性指定的属性。

 

The Layout Groups and Items are generated according to specific rules. Property Editors for particular data types are related to particular Layout Groups. This relation is explained in the following table:

布局组和项目根据一定的规则生成。对于特定的数据类型属性编辑器相关的特殊布局组。这个关系解释在以下表:

Property Type

Layout Group

XPCollection

Individual Layout Group, if a Detail View contains a single XPCollection Property Editor.
Tabbed Group, if a Detail View contains several XPCollection Property Editors.

Value types and enumeration

Individual Layout Group, called SimpleEditors. If there are more than four Property Editors in the current Detail View, they are located in two columns.

All remaning types

Individual Layout Group, called SizableEditors.

Note

The Property Editors for the base class properties are distributed between individual Layout Groups as well.

Property Type

Layout Group

XPCollection

个体布局组,如果一个详细视图包含一个XPCollection属性编辑。标签组,如果一个详细视图包含级个l XPCollection属性编辑。

Value types and enumeration

个体布局组, SimpleEditors. 如果有四个以上的属性在目前的详细信息视图编辑器,它们存在于两列。

All remaning types

个体布局组, 调用SizableEditors.

备注

基类属性的属性编辑是分布在个体布局和组编辑之间。

 欢迎转载,转载请注明出处:http://www.cnblogs.com/Tonyyang/

转载于:https://www.cnblogs.com/Tonyyang/archive/2011/01/10/1931957.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值