This commit is contained in:
@@ -182,7 +182,95 @@ namespace AyaNova.DataList
|
|||||||
SqlValueColumnName = "acustomer.emailaddress"
|
SqlValueColumnName = "acustomer.emailaddress"
|
||||||
});
|
});
|
||||||
|
|
||||||
todo: Postal addresses
|
|
||||||
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostalDeliveryAddress",
|
||||||
|
FieldKey = "customerpostaddress",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "acustomer.postaddress"
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostalCity",
|
||||||
|
FieldKey = "customerpostcity",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "acustomer.postcity"
|
||||||
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostalStateProv",
|
||||||
|
FieldKey = "customerpostregion",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "acustomer.postregion"
|
||||||
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostalCountry",
|
||||||
|
FieldKey = "customerpostcountry",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "acustomer.postcountry"
|
||||||
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressPostalPostal",
|
||||||
|
FieldKey = "customerpostcode",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "acustomer.postcode"
|
||||||
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressDeliveryAddress",
|
||||||
|
FieldKey = "customeraddress",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "acustomer.address"
|
||||||
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressCity",
|
||||||
|
FieldKey = "customercity",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "acustomer.city"
|
||||||
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressStateProv",
|
||||||
|
FieldKey = "customerregion",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "acustomer.region"
|
||||||
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressCountry",
|
||||||
|
FieldKey = "customercountry",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Text,
|
||||||
|
SqlValueColumnName = "acustomer.country"
|
||||||
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressLatitude",
|
||||||
|
FieldKey = "customerlatitude",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Decimal,
|
||||||
|
SqlValueColumnName = "acustomer.latitude"
|
||||||
|
});
|
||||||
|
|
||||||
|
FieldDefinitions.Add(new AyaDataListFieldDefinition
|
||||||
|
{
|
||||||
|
TKey = "AddressLongitude",
|
||||||
|
FieldKey = "customerlongitude",
|
||||||
|
UiFieldDataType = (int)UiFieldDataType.Decimal,
|
||||||
|
SqlValueColumnName = "acustomer.longitude"
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user