Attribute |
Description |
ActionAttribute |
Write the method on the Business Object and add this Attribute to the method. A simple button or window button appears on the interface. |
AppearanceAttribute |
Write this Attribute on the business class or Method \ Attribute to control the appearance control, such as whether the control is disabled, whether it is read-only, whether the background color changes, Font, And button are available. |
Aggrespondattribute |
Write on the properties of the XPCollection <T> type to control whether the business pairs in the master-slave table structure are aggregated. What aggregation? It means that the primary object and the sub-object are put together and correspond to a business content, such as orders and order details. The two tables are put together completely. |
CalculatedAttribute |
The result of the attribute is calculated. |
CalculatedPersistentAliasAttribute |
Applied to a business class. Allows you to dynamically configure a persistent alias for the target business class 'Property. |
CaptionsForBoolValuesAttribute |
In a Boolean attribute, you can specify true or false as the specified value. For example, if the value is changed to male or female, true or false, yes or no. but do not use it as a Chinese version. |
CodeRuleAttribute |
Applied to a validation rule. Specifies that the rule is intended for a participating business class and does not have a corresponding validation attribute. |
CollectionSourceModeAttribute |
Specifies the mode of operation for the Collection Sources created by List Property Editors representingCollectionSourceModeAttribute'S target property. |
CreateInstanceAttribute |
Specifies that a Domain Component's target method will create Domain Component instances. |
CreatableItemAttribute |
It is written on BO/DC, which is not the same as that under win on the web. You can quickly create a menu to display this BO. |
CriteriaOptionsAttribute |
When using the condition editor, specify some options here, for example, which BO the condition applies. |
DataSourceCriteriaAttribute |
It can be applied to BO-type attributes, or to an XPCollection <T>. It specifies the criteria used to filter data sources when a (Link, Link) object is selected. For example, a customer attribute exists, when selecting a customer, all customers aged between 30 and 50 must be displayed in a specific scenario. |
DataSourceCriteriaPropertyAttribute |
This is the same as the above function, but this condition is not written to death and has been read from another attribute. This allows for dynamic receiving conditions in that attribute. |
Cecepropertyattribute |
Function and the above two types, but it is more dynamic to directly specify the data source that can be selected from a certain attribute, but it is better to consider performance issues, because the programmer spelled out the data source, i'm not sure how I got it. |
DefaultClassOptionsAttribute |
After adding this, BO will appear in the navigation bar, and the quick create button will also appear in the report. I only observed so much. This is a shortcut. |
DefaultListViewOptionsAttribute |
Write on BO, some common default list view control. |
DelayedAttribute |
Write on the attribute and delay loading this attribute. EF is officially used, but I have also used it in xpo! |
DetailViewLayoutAttribute |
Write on attributes for simple layout of detailed views on BO. |
DomainComponentAttribute |
Writing on the Interface indicates that this is a DC. Writing on non-persistent BO indicates that the system will generate the view of this BO. |
ExpandObjectMembersAttribute |
You can describe the attributes of a complex type to show them in the view. for example, the customer. address. the detailed address has a bunch of properties at the same level as the detailed address. After using this, you can display it all at once. |
FieldSizeAttribute |
The length of the field created in the library for the struct attribute.-1 is not long. |
FileAttachmentAttribute |
If the value is of the file type and is applied to the class, the IFileData interface must be implemented. |
FileTypeFilterAttribute |
How do I filter file names when uploading files? Extension? |
FriendlyKeyPropertyAttribute |
Specifies a property that is considered an analog ofGUIDProperty to allow the use of more suitable values. |
ImageEditorAttribute |
Image editor settings. |
ImageNameAttribute |
Write it on BO and set an icon. This icon is displayed on the list and detailed view. |
ImagesForBoolValuesAttribute |
You can specify a Boolean icon on a Boolean attribute. For example, if the value is true, a pair is used. If the value is false, a cross is used. |
ImmediatePostDataAttribute |
Useful in the web, written in attributes, indicates whether to send the value back to the server when the value changes, for example, when the total price = unit price * quantity, then, unit, and quantity change, the total price needs to be calculated, so we need to add this Attribute to the unit price and quantity. |
IndexAttribute |
Write the attribute above. When creating a table, create an index to capture performance. |
KeyAttribute |
The attribute indicates that this attribute is the primary key. |
ListEditorAttribute |
Specifies the list control to be used. |
ListViewFilterAttribute |
A drop-down box is displayed on the interface with some built-in filtering conditions for the list. |
LookupEditorModeAttribute |
Indicates what the Search dialog box looks like. For example, if all the items are displayed in the drop-down box, a window is displayed, or an automatic dialog box is displayed. If there are more than 25 items automatically displayed, the dialog box is displayed. this will automatically affect the performance, because the current number of data records needs to be calculated. |
ModelDefaultAttribute |
Write the default value in ModelEditor in the Code. Many Dongdong can use this setting and can replace some previous attributes. For example, you can use [XafDisplayName ("display name")] change to [ModelDefault ("Caption", "display name")]. you can open ModelDeditor to check the keyword Caption. |
ModelNodesGeneratorAttribute |
Write a class by yourself to generate the model. You need to add this. The specific steps are required. |
NavigationItemAttribute |
Whether a BO is displayed in the navigation bar. |
NonCloneableAttribute |
Clone module: This BO clone is not allowed. |
NotClonedInfoAttribute |
Applied to a business class. Specifies a business class 'string property that can hold property values that were not cloned. |
ObjectCaptionFormatAttribute |
Indicates the title of Bo in the Details View. |
PropertyEditorAttribute |
The default editor is automatic. You only need to change the default editor. |
Attributes from the Validation module: RuleBaseAttribute, RuleCombinationOfPropertiesIsUniqueAttribute, RuleCriteriaAttribute, RuleFromBoolPropertyAttribute, RuleIsReferencedAttribute, RuleObjectExistsAttribute, RuleRangeAttribute, RuleRegularExpressionAttribute, RuleRequiredFieldAttribute, RuleStringComparisonAttribute, RuleUniqueValueAttribute, RuleValueComparisonAttribute. |
These are all used for verification rules. The combination of RuleCombinationOfPropertiesIsUniqueAttribute is unique. Multiple Attributes are specified on the class. These attributes are unique in combination. RuleCriteriaAttribute. in the class, the data must meet the specified conditions. RuleFromBoolPropertyAttribute. The value must be true in a Boolean attribute. RuleObjectExistsAttribute, the specified object must exist. RuleRangeAttribute. The attribute value must be within the specified range. RuleRegularExpressionAttribute. The attribute value must meet the requirements of regular expressions. RuleRequiredFieldAttribute. The attribute is required. RuleStringComparisonAttribute. The attribute value is compared with the string. RuleUniqueValueAttribute. The attribute value must be unique. RuleValueComparisonAttribute. The attribute value is compared with the specified value (another attribute. |
SearchClassOptionsAttribute |
Some options for full-text search. |
SearchMemberOptionsAttribute |
It is also used for full-text search. It specifies the fields involved or not involved. |
ToolTipAttribute |
Prompt text of the attribute. |
ViewItemAttribute |
Applied to a custom View Item. Registers a View Item in an application and specifies the type of the Application Model's node used by a custom View Item. |
VisibleInDetailViewAttribute |
Whether the attribute is visible in the Details View |
VisibleInListViewAttribute |
Whether the attribute is visible in the List View |
VisibleInLookupListViewAttribute |
Whether the attribute is visible in the search view. |
VisibleInReportsAttribute |
Can I select this BO when making a report. |
Xafdefaproperpropertyattribute |
Default attribute. When the reference type is used for the attribute, the field of the reference class is used as the display title. for example, after selecting a customer in the order, the customer name should be displayed. Then [xafdefadefapropety ("name")] should be written on the customer's BO. |
XafDisplayNameAttribute |
Specify the display name, for example, "BO" is "Customer", "XafDisplayName" ("Customer") "], and write it to" BO. |