一,PersistentAliasAttribute-[XPO提供] Indicates that a property is not persistent and its value is calculated based upon the values of a specific field(s). 指示某个属性不是持久性的, 并且它的值是根据特定字段的值计算的. The expression to be evaluated can be passed as the constructor'…
在 XAF 框架,一些用来生成一个业务应用程序的信息是在Attribute中指定.您可以将属性应用到业务类 (或它的成员) 指定验证规则,指定如何对数据进行显示. 设置关系类等.本主题提供了有关在何处以及如何可以应用这些属性的内置 XAF 框架属性和信息的列表. Attribute 说明 ActionAttribute 在业务对象上书写方法,并在方法上面加上这个Attribute,在界面上,会出现一个简单按钮或弹出窗口按钮. AppearanceAttribute 在业务类或方法\属性上面书写此…
本主题介绍有关列表视图如何提供数据访问的几种方式.请注意,选择正确的方式对于实现XAF应用程序的最佳性能至关重要.    数据访问模式概述   在模型编辑器中,通过 视图-> <ListView>节点找到IModelListView.DataAccessMode属性,指定显示的对象集合是如何被访问.可用值- Client,Server,InstantFeedback和DataView. 提示 当通过使用IModelListView.EditorType属性设置了不同的编辑器时,DataA…
In this lesson, you will learn how to manage calculated properties. For this purpose, the Payment class will be implemented. Its Amount property value will be calculated using the Rate and Hours properties. The value will be updated immediately after…
This topic describes how to implement a business class, so that one of its properties is calculated based on a property(ies) of the objects contained in the child object collection. 本主题介绍如何实现 Business 类,以便基于子对象集合中包含的对象的属性计算其属性之一. Tip 提示 A complete sa…