Share via


EntityDataTableAdapter.ColNameSerializedId Field

Represents the column name of the serialized ID column in the DataTable object.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Const ColNameSerializedId As String
'Usage
Dim value As String

value = EntityDataTableAdapter.ColNameSerializedId
public const string ColNameSerializedId

Remarks

When entity instances are transformed into data rows in a data table, they lose the special semantics attached to them in the Business Data Catalog, such as the ability to call instance methods on them. Serializing the ID column enables you to call instance methods. You can access the ID column using the name ColNameSerializedId.

Because the Business Data Catalog encodes the ID column, you must decode the ID column before you can use the ID values. To decode the ID column, use the EntityInstanceIdEncoder.DecodeEntityInstanceId(ColNameSerializedId) method. This method decodes the identifiers and returns an array of identifier values.

See Also

Reference

EntityDataTableAdapter Class

EntityDataTableAdapter Members

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace