EntityDataTableAdapter.ColNameSerializedId, champ (Microsoft.Office.Server.ApplicationRegistry.Runtime)
Represents the column name of the serialized ID column in the DataTable object.
Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)
Syntaxe
'Déclaration
Public Const ColNameSerializedId As String
'Utilisation
Dim value As String
value = EntityDataTableAdapter.ColNameSerializedId
public const string ColNameSerializedId
Remarques
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.
Voir aussi
Référence
EntityDataTableAdapter, classe
Membres EntityDataTableAdapter
Microsoft.Office.Server.ApplicationRegistry.Runtime, espace de noms