AddressAdapter Method

Adapt and merge a local copy of a Customer Address with Customer data in preparation for saving to AX and CRT.

Namespace:  Microsoft.Dynamics.Commerce.Runtime.DataModel
Assembly:  Microsoft.Dynamics.Commerce.Runtime (in Microsoft.Dynamics.Commerce.Runtime.dll)

Syntax

'Declaration
Public Shared Function AddressAdapter ( _
    customerData As CustomerData, _
    address As CustomerAddress _
) As AddressData
'Usage
Dim customerData As CustomerData
Dim address As CustomerAddress
Dim returnValue As AddressData

returnValue = DataModelExtensions.AddressAdapter(customerData, _
    address)
public static AddressData AddressAdapter(
    CustomerData customerData,
    CustomerAddress address
)
public:
static AddressData^ AddressAdapter(
    CustomerData^ customerData, 
    CustomerAddress^ address
)

Parameters

Return Value

Type: Microsoft.Dynamics.Commerce.Runtime.DataModel.AddressData
The address data.

See Also

Reference

DataModelExtensions Class

Microsoft.Dynamics.Commerce.Runtime.DataModel Namespace