C# Класс Microsoft.Dynamics.Integration.Adapters.DynamicCrm.ObjectProviders.PicklistObjectProvider

Provides interaction with the Dynamics CRM picklist and DynamicEntity objects.
Наследование: CrmObjectProvider, IObjectReader, IObjectWriter, IBulkObjectWriter
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

Begin() публичный Метод

Begins a bulk operation
public Begin ( int expectedCount ) : void
expectedCount int The expected number of records to be integrated by the bulk operation.
Результат void

Cancel() публичный Метод

Cancels a bulk operation
public Cancel ( ) : void
Результат void

DeleteObject() публичный Метод

Deletes an object
public DeleteObject ( object key ) : void
key object The object to be deleted
Результат void

Finish() публичный Метод

Finishes a bulk operation
public Finish ( ) : void
Результат void

PicklistObjectProvider() публичный Метод

Initializes a new instance of the PicklistObjectProvider class.
public PicklistObjectProvider ( ) : Common.System
Результат Common.System

PublishMetadata() публичный Метод

Publishes the CRM metadata file
public PublishMetadata ( ) : void
Результат void

ReadObject() публичный Метод

Read an object from the stream
public ReadObject ( object key ) : object
key object The key for the object to be read
Результат object

ReadObjectKeys() публичный Метод

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
Результат ICollection

WriteObject() публичный Метод

Writes an object to the stream
public WriteObject ( object value ) : void
value object The object to be written
Результат void