Compartir a través de


: EntityDataTableAdapter.ColNameSerializedId (Campo) (Microsoft.Office.Server.ApplicationRegistry.Runtime)

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

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
Public Const ColNameSerializedId As String
'Uso
Dim value As String

value = EntityDataTableAdapter.ColNameSerializedId
public const string ColNameSerializedId

Comentarios

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.

Vea también

Referencia

EntityDataTableAdapter (Clase)
EntityDataTableAdapter (Miembros)
Microsoft.Office.Server.ApplicationRegistry.Runtime (Espacio de nombres)