Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

CrmHelpers Classes

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

You can add this helper code to your solution to static types that can be used for getting and setting attribute values that are not provided in the Web Services Description Language (WSDL) and to simplify the code that you have to write using QueryExpression.

The helper code can be found in the following folder in the SDK download package: sdk\server\helpers\cs|vb\crmhelpers.

This folder contains the following files:

File nameDescription
BusinessEntityPartialTypes.csContains helper constructors and methods for the use of CRM types.
CorePartialTypes.csContains helper methods for the use of core types.
DynamicEntityPartialTypes.csContains helper methods for the use of the DynamicEntity class.
Enums.csContains static types that are used to test and to set property values.
Errorcodes.csContains the GetErrorMessage method, a hashtable and set of enumerationss that can be used to find error codes and error messages.
PropertyPartialClasses.csContains helper methods for the use of property classes used with DynamicEntity.
columnscollection.csContains helper code for creating query expressions.
columnsethelper.csContains helper code for creating query expressions.
conditionexpressionhelper.csContains helper code for creating query expressions.
conditionexpressionhelpercollection.csContains helper code for creating query expressions.
filterexpressionhelper.csContains helper code for creating query expressions.
filterexpressionhelpercollection.csContains helper code for creating query expressions.
linkentityhelper.csContains helper code for creating query expressions.
linkentityhelpercollection.csContains helper code for creating query expressions.
orderexpressioncollection.csContains helper code for creating query expressions.
queryexpressionhelper.csContains helper code for creating query expressions.

The following CrmHelpers classes are supported.

ClassDescription
ActivityPartyTypeSpecifies values for setting or comparing the activity type.
AdvancedFindStartupModeSpecifies values for setting or comparing the advanced find startup mode.
AssemblySourceTypeSpecifies values for setting or comparing the assembly source type.
AsyncOperationStatusSpecifies values for setting or comparing the status for an asynchronous operation.
AsyncOperationTypeSpecifies values for setting or comparing the asynchronous operation type.
AuthenticationTypeSpecifies values for setting or comparing the authentication type property.
BulkOperationStatusSpecifies values for setting or comparing the bulk operation status.
BulkOperationTypeSpecifies values for setting or comparing the bulk operation type.
CallerOriginRepresents the base class used to determine the origin of the call to the Web service.
CallPriorityStatusContent coming soon.
CampaignActivityChannelTypeSpecifies values for setting or comparing the campaign activity channel type.
CampaignResponseChannelTypeSpecifies values for setting or comparing the campaign response channel type.
CascadeOpsContent coming soon.
ColumnsCollectionContains a set of attribute names. For internal use only.
ColumnSetHelperDefines the set of attributes (columns) to be returned in the query results.
ConditionExpressionHelperSpecifies a condition for a query.
ConditionExpressionHelperCollectionContains a set of conditions for a query.
ConstraintBasedGroupTypeCodeSpecifies values for setting or comparing the constraint based group type code.
ContractAllotmentTypeCodeSpecifies values for setting or comparing the contract allotment type code.
CorrelationTokenSupports infinite loop detection in plug-ins.
CrmBooleanRepresents a Boolean attribute.
CrmBooleanPropertyRepresents a Boolean attribute in an entity represented as a dynamic entity.
CrmDateTimeRepresents a date/time attribute.
CrmDateTimePropertyRepresents a date/time attribute in an entity represented as a dynamic entity.
CrmDecimalRepresents a decimal attribute.
CrmDecimalPropertyRepresents a decimal attribute in an entity represented as a dynamic entity.
CrmFloatRepresents a float attribute.
CrmFloatPropertyRepresents a float attribute in an entity represented as a dynamic entity.
CrmMoneyRepresents a money attribute.
CrmMoneyPropertyRepresents a money attribute in an entity represented as a dynamic entity.
CrmNumberRepresents a number (integer) attribute.
CrmNumberPropertyRepresents a number attribute in an entity represented as a dynamic entity.
CustomerRepresents an attribute that refers to a customer.
CustomerAddressTypeSpecifies values for setting or comparing the customer address type.
CustomerPropertyRepresents a customer attribute in an entity represented as a dynamic entity.
DeletionStateCodeSpecifies values for setting or comparing the deletion state code.
DuplicateRuleOperatorSpecifies values for setting or comparing the duplicate rule operator.
DuplicateRuleStatusSpecifies values for setting or comparing the duplicate rule status.
DynamicEntityRepresents an instance of an entity.
DynamicEntityArrayPropertySpecifies a set of dynamic entities.
EmailDecisionReasonSpecifies values for setting or comparing the e-mail decision reason.
EmailDeliveryMethodSpecifies values for setting or comparing the e-mail delivery method.
EmailStatusSpecifies values for setting or comparing the e-mail status.
EntityImageTypeSpecifies values for setting or comparing the e-mail image type.
EntityNameReferenceSpecifies the name of an entity.
EntityNameReferencePropertyRepresents an EntityNameReference property in an entity using the DynamicEntity class.
ErrorCodesSpecifies the error codes for the system.
EventDirectionSpecifies values for setting or comparing the e-mail direction.
ExtentCodeSpecifies values for setting or comparing the calendar rule extent code.
FilterExpressionHelperSpecifies a filter for a query.
FilterExpressionHelperCollectionContains a set of filters for a query.
GenerationTypeCode 
ImportDataDelimiterSpecifies values for setting or comparing the import data delimiter.
ImportFieldDelimiterSpecifies values for setting or comparing the import field delimiter.
ImportFileStatusDetailSpecifies values for setting or comparing the import file processing status.
ImportLogPhaseCodeSpecifies values for setting or comparing the import log phase code.
ImportMapTypeSpecifies values for setting or comparing the import map type.
ImportModeCodeSpecifies values for setting or comparing the import mode.
ImportProcessCodeSpecifies values for setting or comparing the import process code.
ImportStatusSpecifies values for setting or comparing the import status.
InheritanceMaskSpecifies values for setting or comparing the inheritance mask.
KeyRepresents an attribute that refers to the primary key of an entity.
KeyPropertyRepresents a key attribute in an entity represented as a dynamic entity.
LinkEntityHelperSpecifies the link (join) criteria for a query.
LinkEntityHelperCollectionContains a set of link (join) criteria for a query.
ListTypeSpecifies values for setting or comparing the marketing automation list type.
LookupRepresents an attribute that refers to another entity.
LookupPropertyRepresents a lookup attribute in an entity represented as a dynamic entity.
LookupSourceTypeSpecifies values for setting or comparing the lookup source type.
MessageAvailabilitySpecifies values for setting or comparing the SDK message availability.
MessageInvocationSource Specifies values for setting or comparing the SDK message invocation source.
MessageNameSpecifies values for setting or comparing the SDK message name.
MessageProcessingModeSpecifies values for setting or comparing the SDK message processing mode.
MessageProcessingStageSpecifies values for setting or comparing the SDK message processing stage.
MonikerSpecifies an instance of an entity.
OrderExpressionCollectionContains a set of expressions that define the sort order of the query results.
OwnerRepresents an attribute that refers to the owner of an entity instance.
OwnerPropertyRepresents an owner attribute in an entity represented as a dynamic entity.
ParameterNameSpecifies values for setting or comparing the parameter name.
ParticipationTypeSpecifies values for setting or comparing the participation type.
PicklistRepresents a picklist attribute in an entity instance.
PicklistPropertyRepresents a picklist attribute in an entity represented as a dynamic entity.
PriceMethodSpecifies values for setting or comparing the pricing method.
PricingErrorCodeSpecifies values for setting or comparing the pricing error code.
PriorityCodeSpecifies values for setting or comparing the priority code.
QuantitySellingCodeSpecifies values for setting or comparing the quantity selling code.
QueryExpressionHelperSpecifies all the information that is needed to perform a query.
QueueTypeCodeSpecifies values for setting or comparing the queue type code.
ReportLinkTypeCodeSpecifies values for setting or comparing the report link type code.
ReportTypeCodeSpecifies values for setting or comparing the report type code.
ReportVisibilityCodeSpecifies values for setting or comparing the report visibility code.
RoundingOptionSpecifies values for setting or comparing the rounding option.
RoundingPolicySpecifies values for setting or comparing the rounding policy.
SavedQueryTypeSpecifies values for setting or comparing the saved query type.
StatePropertyRepresents a state attribute in an entity represented as a dynamic entity.
StatusRepresents a status attribute in an entity instance.
StatusPropertyRepresents a status attribute in an entity represented as a dynamic entity.
StringPropertyRepresents a string attribute in an entity represented as a dynamic entity.
SubscriptionHandlingType Specifies values for setting or comparing the subscription handling type.
SubscriptionTypeSpecifies values for setting or comparing the subscription type.
SupportedDeploymentSpecifies values for setting or comparing the supported deployment option.
SystemUserAccessMode Specifies values for setting or comparing the system user access mode.
TimeZoneSpecifies values for setting or comparing the time zone code.
TransformationDataTypeCode Specifies values for setting or comparing the transformation data type code.
TransformationOffsetModeSpecifies values for setting or comparing the transformation offset mode.
TransformationParameterTypeCode Specifies values for setting or comparing the transformation parameter type code.
TransformationTypeNameSpecifies values for setting or comparing the transformation type name.
UniqueIdentifierRepresents an attribute that is the ID (GUID) of another entity instance.
UniqueIdentifierPropertyRepresents a UniqueIdentifier attribute in an entity represented as a dynamic entity.
WorkflowDependencyTypeSpecifies values for setting or comparing the workflow dependency type.
WorkflowScopeSpecifies values for setting or comparing the workflow dependency type.
WorkflowStepActivityStatusSpecifies values for setting or comparing the workflow step activity status.
WorkflowTypeSpecifies values for setting or comparing the workflow type.

Remarks

These helper classes require the namespace System.Collections.


© 2010 Microsoft Corporation. All rights reserved.


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.