Partilhar via


Identifier Element in Identifiers (BDCMetadata Schema)

Applies to: SharePoint Server 2010

Specifies an identifier of an external content type.

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

Schema: BDCMetadata

Note

Business Data Connectivity (BDC) service enables the mapping of identifiers to fields with nullable data types. However, for primary identifiers, BDC will cause an error when the value of these identifiers are null.

<Identifier TypeName = "String" Name = "String" DefaultDisplayName = "String" IsCached = "Boolean"> </Identifier>

Attributes and Elements

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

Attributes

Attribute

Description

TypeName

Required.

The data type of the value that corresponds to the identifier.

The following table lists the possible values for this attribute.

Value

Description

System.Boolean

A bit.

System.Byte

A number ranging from 0 to 255 inclusive.

System.Char

A Unicode character.

System.DateTime

A date and time ranging from 12:00:00 midnight, January 1, 1 Anno Domini (Common Era) to 11:59:59 P.M. December 31, 9999 Anno Domini (Common Era) inclusive, in resolution of 100 nanoseconds.

System.Decimal

A number ranging from negative 79,228,162,514,264,337,593,543,950,335 to positive 79,228,162,514,264,337,593,543,950,335 inclusive.

System.Double

A double precision number ranging from negative 1.79769313486232e308 to positive 1.79769313486232e308 inclusive, and positive zero, negative zero, positive infinity, negative infinity, and not-a-number (NaN).

System.Guid

A GUID.

System.Int16

A number ranging from negative 32768 to positive 32767 inclusive.

System.Int32

A number ranging from 0 to 4,294,967,295 inclusive.

System.Int64

A number ranging from 0 to 18,446,744,073,709,551,615 inclusive.

System.SByte

A number ranging from negative 128 to positive 127 inclusive.

System.Single

A single precision number ranging from negative 3.402823e38 to positive 3.402823e38 inclusive.

System.String

A string of Unicode text.

System.TimeSpan

A duration ranging from negative 10675199 days 2 hours 48 minutes 5 seconds 477 milliseconds 580 microseconds 800 nanoseconds to positive 10675199 days 2 hours 48 minutes 5 seconds 477 milliseconds 580 microseconds 800 nanoseconds inclusive, in resolution of 100 nanoseconds.

System.UInt16

A number ranging from 0 to 65535 inclusive.

System.UInt32

A number ranging from 0 to 4,294,967,295 inclusive.

System.UInt64

A number ranging from 0 to 18,446,744,709,551,615 inclusive.

Name

Required.

The name of the identifier.

Attribute type: String

DefaultDisplayName

Optional.

The default display name of the identifier.

Attribute type: String

IsCached

Optional.

Specifies whether this identifier is used frequently. If set to true, Business Data Connectivity (BDC) service caches the identifier in memory.

Default value: true

Attribute type: Boolean

Child Elements

Element

Description

LocalizedDisplayNames Element in MetadataObject (BDCMetadata Schema)

The localized display names of the identifier.

Properties Element in MetadataObject (BDCMetadata Schema)

The properties of the identifier.

Parent Elements

Element

Description

Identifiers Element in Entity (BDCMetadata Schema)

A list of identifiers of an external content type.