다음을 통해 공유


ConvertType Element in Interpretation (BDCMetadata Schema)

마지막 수정 날짜: 2010년 4월 16일 금요일

적용 대상: SharePoint Server 2010

Specifies the rule to convert the data type of a data value into another data type.

Namespace: https://schemas.microsoft.com/windows/2007/BusinessDataCatalog

Schema: BDCMetadata

The Convert element specifies the rule to convert the data type of a data value into another data type. When the rules are applied in order, this rule specifies the data type of the data value to be converted to the data type specified by the BDCType attribute. When the rules are applied in reverse order, this rule specifies the data type of the data value to be converted to the data type specified by the LOBType attribute. For example, this rule can specify converting a date value obtained from an external system, into a culture and locale sensitive string which will eventually be displayed to the user, and converting the updated value for that string back into the date that is compatible with the external system.

경고

ConvertType does not support non-Gregorian calendars for conversions between System.String and System.DateTime.

<ConvertType LOBType = "String" BDCType = "String"> </ConvertType>

특성 및 요소

The following sections describe attributes, child elements, and parent elements.

특성

Attribute

Description

LOBType

Required.

The data type to convert the data value into when the rules are applied in reverse order.

Attribute type: String

BDCType

Required.

The data type to convert the data value into when the rules are applied in order.

Attribute type: String

LOBLocale

Optional.

The locale of the data that is received from the external system.

하위 요소

None.

상위 요소

Element

Description

Interpretation Element in TypeDescriptor (BDCMetadata Schema)

The rules to apply to the data stored in the data structures that are represented by a TypeDescriptor.