C# Class Microsoft.Dynamics.Integration.Adapters.DynamicCrm.ObjectProviders.PicklistObjectProvider

Provides interaction with the Dynamics CRM picklist and DynamicEntity objects.
Inheritance: CrmObjectProvider, IObjectReader, IObjectWriter, IBulkObjectWriter
Afficher le fichier Open project: Microsoft/Instance-Adapter-for-Microsoft-Dynamics-CRM

Méthodes publiques

Méthode Description
Begin ( int expectedCount ) : void

Begins a bulk operation

Cancel ( ) : void

Cancels a bulk operation

DeleteObject ( object key ) : void

Deletes an object

Finish ( ) : void

Finishes a bulk operation

PicklistObjectProvider ( ) : Common.System

Initializes a new instance of the PicklistObjectProvider class.

PublishMetadata ( ) : void

Publishes the CRM metadata file

ReadObject ( object key ) : object

Read an object from the stream

ReadObjectKeys ( DateTime modifiedDate ) : ICollection

Gets an ICollection containing Key objects that match the supplied modifiedDate

WriteObject ( object value ) : void

Writes an object to the stream

Private Methods

Méthode Description
CreateSingleLabel ( string label, int langCode ) : Xrm.Sdk.Metadata.Label

Creates a CRM Label

ProcessGlobalPicklists ( string dictionary, string key ) : void

Processes the global option sets

ProcessPickLists ( object>.Dictionary dictionary, string entityName ) : void

Processes the non-global option sets

ReadDeletedObjectKeys ( DateTime modifiedDate ) : ICollection

Method Details

Begin() public méthode

Begins a bulk operation
public Begin ( int expectedCount ) : void
expectedCount int The expected number of records to be integrated by the bulk operation.
Résultat void

Cancel() public méthode

Cancels a bulk operation
public Cancel ( ) : void
Résultat void

DeleteObject() public méthode

Deletes an object
public DeleteObject ( object key ) : void
key object The object to be deleted
Résultat void

Finish() public méthode

Finishes a bulk operation
public Finish ( ) : void
Résultat void

PicklistObjectProvider() public méthode

Initializes a new instance of the PicklistObjectProvider class.
public PicklistObjectProvider ( ) : Common.System
Résultat Common.System

PublishMetadata() public méthode

Publishes the CRM metadata file
public PublishMetadata ( ) : void
Résultat void

ReadObject() public méthode

Read an object from the stream
public ReadObject ( object key ) : object
key object The key for the object to be read
Résultat object

ReadObjectKeys() public méthode

Gets an ICollection containing Key objects that match the supplied modifiedDate
public ReadObjectKeys ( DateTime modifiedDate ) : ICollection
modifiedDate DateTime A DateTime containing the last modified date for the object keys to be returned
Résultat ICollection

WriteObject() public méthode

Writes an object to the stream
public WriteObject ( object value ) : void
value object The object to be written
Résultat void