: EntityInstanceIdEncoder (Clase) (Microsoft.Office.Server.ApplicationRegistry.Infrastructure)

Provides encoding and decoding of entity instance identifiers.

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

Sintaxis

'Declaración
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel:=True)> _
Public NotInheritable Class EntityInstanceIdEncoder
'Uso
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel=true)] 
public static class EntityInstanceIdEncoder

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 identifier column enables you to call instance methods. When the Business Data Catalog serializes the ID column, it encodes it, so you must decode the ID column before you can use the ID values. To decode the ID column, use the EntityInstanceIdEncoder.DecodeEntityInstanceId() method and pass in ColNameSerializedId, which is the name the Business Data Catalog assigns to the serialized ID column. This decodes the identifiers and returns an array of identifier values.

Jerarquía de herencia

System.Object
  Microsoft.Office.Server.ApplicationRegistry.Infrastructure.EntityInstanceIdEncoder

Seguridad de subprocesos

Todos los miembros estáticos públicos (compartidos en Visual Basic) de este tipo son seguros para la ejecución de subprocesos. No se garantiza que los miembros de instancia sean seguros para los subprocesos.

Vea también

Referencia

EntityInstanceIdEncoder (Miembros)
Microsoft.Office.Server.ApplicationRegistry.Infrastructure (Espacio de nombres)