OrganizationServiceContext.Attach-methode
Van toepassing op: CRM 2015 on-prem, CRM Online
Notifies the OrganizationServiceContext to start tracking the specified entity.
Naamruimte: Microsoft.Xrm.Sdk.Client
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntaxis
'Declaratie
Public Sub Attach ( _
entity As Entity _
)
public void Attach (
Entity entity
)
Parameters
- entity
Type: Entity. The entity to be tracked.
Opmerkingen
If the entity is part of an object graph, this operation does not traverse the graph to add related objects. It is a shallow operation.The method does not validate whether the specified entity set occurs in the Web service associated with the OrganizationServiceContext.
Thread-veiligheid
Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.
Platforms
Ontwikkelplatforms
Windows Vista, Windows Server 2003, en
Doelplatforms
Windows Vista,Windows XP
Zie ook
Verwijzing
OrganizationServiceContext-klasse
OrganizationServiceContext-leden
Microsoft.Xrm.Sdk.Client-naamruimte
Send comments about this topic to Microsoft.
© 2014 Microsoft Corporation. All rights reserved.