Telerik OpenAccess ORM

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

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>