OrganizationServiceContextExtensions.MergeClone-methode
Van toepassing op: Microsoft Dynamics CRM 2015, Microsoft Dynamics CRM Online
Clones an arbitrary source entity and attaches it to the context.
Naamruimte: Microsoft.Xrm.Client
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Gebruik
'Gebruik
Dim context As OrganizationServiceContext
Dim entity As T
Dim includeRelatedEntities As Boolean
Dim returnValue As T
returnValue = OrganizationServiceContextExtensions.MergeClone(context, entity, includeRelatedEntities)
Syntaxis
'Declaratie
<ExtensionAttribute> _
Public Shared Function MergeClone(Of T As Entity) ( _
context As OrganizationServiceContext, _
entity As T, _
<OptionalAttribute> Optional includeRelatedEntities As Boolean = False _
) As T
[ExtensionAttribute]
public static T MergeClone<T> (
OrganizationServiceContext context,
T entity,
[OptionalAttribute] bool includeRelatedEntities
) where T : Entity
GenericParameters
- T
The type, where T is Type: Entity.
Parameters
- context
Type: OrganizationServiceContext. The service context.
- entity
Type: T. The entity instance.
- includeRelatedEntities
Type: Boole-waarde. Specifies whether to include related entity instances.
Retourwaarde
Type: Boole-waarde
.
Thread-veiligheid
Alle openbare statische (Shared in Visual Basic) leden van dit type zijn thread-veilig. Exemplaarleden zijn niet gegarandeerd thread-veilig.
Platforms
Development Platforms
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Target Platforms
Windows Server 2008,Windows Server 2012,Windows 7
Zie ook
Verwijzing
OrganizationServiceContextExtensions-klasse
OrganizationServiceContextExtensions-leden
Microsoft.Xrm.Client-naamruimte
Overige resources
Developer Extensions for Microsoft Dynamics CRM
Developer Extensions Context Object Model
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.