Monday, August 13, 2012

Working with Fields in Designer

Fields represent properties of business objects. These properties are reflecting physical columns of a data row or a computed value based on other columns.

A complete list of data controller fields can be seen by switching to the All Fields tab on the Home page of the Project Browser.

All Fields tab on the Home page of the Project Browser displays all fields in the web application

The Fields tab on a controller page will display all fields of that specific controller.

Fields tab on a controller page displays the fields of a controller.

Clicking on the name of a field or the Open context menu option will display the details of the field.

Open context menu option in the Project Browser.     Field detail form in the Project Browser.

The Sync context menu option will select the relevant node in the Project Explorer.

Sync context menu option in the Project Browser.     CategoryName field node synchronized in the Project Explorer.

If the field is configured as a static item lookup, the items are specified under the Items tab on the Fields page.

List of static field items on the Items tab of the Fields page.

Binding of fields to data controller views are called data fields. They can be accessed via the Data Fields tab.

Data fields for a field are accessible via the Data Fields tab on the Field page.

Fields can be dragged to the views to create a binding (data field). When dropped on a form view, the data fields will be appended to the last category of the view. When dropped on any other type of view, the data field is created under the view node itself.

Dropping two fields onto a view node.     Two data fields created in view1.

Fields names can be changed using the Rename context menu option in the Project Explorer. The Rename operation will also update all references to the field, including the alias in the command text.

Rename context menu option in the Project Explorer.     CategoryName field in Rename mode in the Project Explorer.

Fields can be deleted using the Project Explorer context menu option Delete.

Delete context menu option in the Project Explorer.

Fields can be quickly found by their property values using Navigate To window.

LastName field found in Navigate To using the search terms 'lastname employees'.

No comments:

You can find more about Code OnTime Generator, Data Aquarium Framework, and other great products here.


© 2010 Code OnTime LLC. Intelligent code generation software for ASP.NET. Visit us at http://codeontime.com