Telerik OpenAccess Classic

Telerik OpenAccess ORM Send comments on this topic.
field
Programmer's Guide > OpenAccess ORM Classic (Old API) > Programming With OpenAccess > Metadata Extension Reference > field

Glossary Item Box

This documentation article is a legacy resource describing the functionality of the deprecated OpenAccess Classic only. The contemporary documentation of Telerik OpenAccess ORM is available here.

Sets the structure fields. The values of structure members are embedded recursively within the referencing field.

For example, if we have an employee class, which has a reference to a structure phoneNumber and the phoneNumber has two fields: number and areaCode. Any changes to the metadata properties for any structure field will be nested within this extension:

Copy Code
<class name="Employee">
   <field name="phoneNumber">
      <extension key="field" value="areaCode">
         <extension key="db-column">
            <extension key="db-column-name" value="phone_number_area_code1" />
         </extension>
      </extension>
   </field>
</class>