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

Provides interaction with the Dynamics CRM picklist and DynamicEntity objects.
Inheritance: CrmObjectProvider, IObjectReader, IObjectWriter, IBulkObjectWriter
显示文件 Open project: Microsoft/Instance-Adapter-for-Microsoft-Dynamics-CRM

Public Methods

Method 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

Method 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 method

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

Cancel() public method

Cancels a bulk operation
public Cancel ( ) : void
return void

DeleteObject() public method

Deletes an object
public DeleteObject ( object key ) : void
key object The object to be deleted
return void

Finish() public method

Finishes a bulk operation
public Finish ( ) : void
return void

PicklistObjectProvider() public method

Initializes a new instance of the PicklistObjectProvider class.
public PicklistObjectProvider ( ) : Common.System
return Common.System

PublishMetadata() public method

Publishes the CRM metadata file
public PublishMetadata ( ) : void
return void

ReadObject() public method

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

ReadObjectKeys() public method

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
return ICollection

WriteObject() public method

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