FieldComposite

You set the value of the AdapterReference tag to FieldComposite to use inline field binding with complex associations in the adapter. The following is an example of a binding, where the AdapterReference is set to FieldComposite:

<Fields>
    <Adapter Type="MyAdapterName" BiDirectional="true" Init="">
        <Input Source="LogicalField" Id="0">ProductTable</Input>
        <Input Source="Constant" Id="1">1</Input>
        <Output Id="0">Products</Output>
        <Output Id="1">Products2</Output>
    </Adapter>
</Fields>

In this type of binding the adapter is declared at the Fields level independent of any particular logical field. The adapter is passed an initialization string, a series of inputs, and a series of outputs. The input is of two types:

Constant: Where the passed value is a literal that is converted into the input type, and is provided during runtime.

LogicalField: Where the content is one of the logical fields in the bound logical view. The value of this logical field is provided at runtime.

An input has an Id that associates it to a particular position in the input array of the adapter. The Output parameters specify the targets of the binding. They usually represent paths to controls and properties on the physical view.