[This is preliminary documentation and is subject to change.]

Overrides CreateEntity(DynamicEntity, ExecutionOptions) and adds some Annotation specific fields, if needed.

Namespace:  CWR.MSCRM.Mobile.Client.BL
Assembly:  CWR.MSCRM.Mobile.Client.BL (in CWR.MSCRM.Mobile.Client.BL.dll)
Version: 4.0.0.7

Syntax

C#
public override Guid CreateEntity(
	DynamicEntity entity,
	ExecutionOptions executionOptions
)
Visual Basic (Declaration)
Public Overrides Function CreateEntity ( _
	entity As DynamicEntity, _
	executionOptions As ExecutionOptions _
) As Guid

Parameters

entity
Type: DynamicEntity
DynamicEntity object containing the properties to create.
executionOptions
Type: CWR.MSCRM.Mobile.Client.Helpers..::.ExecutionOptions
ExecutionOptions object containing the options on how to execute this method.

Return Value

The entity id of the newly created entity.

Exceptions

ExceptionCondition
CWR.MSCRM.Mobile.Client.Helpers.Exceptions..::.CalloutExceptionThrows a CalloutException when the PreCreate(CalloutEntityContext, DynamicEntity, String%) callout returns Abort.
CWR.MSCRM.Mobile.Client.Helpers.Exceptions..::.SyncExceptionThrows a SyncException when the server throws a SoapException or an unexpected exception during the execution of the Create process.

See Also