CrmFieldType Enumeration

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Allowed typelist of entities

Namespace:   Microsoft.Xrm.Tooling.Connector
Assembly:  Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)

Syntax

public enum CrmFieldType
Public Enumeration CrmFieldType

Members

Member name Description
CrmBoolean

Bool - Converts from bool

CrmDateTime

DateTime - Converts from a DataTime Object

CrmDecimal

Decimal, for money, use CrmMoney - Converts from a decimal type

CrmFloat

Double type, while CRM calls this a float, it is actually a double for money, use CrmMoney - Converts from a double type

CrmMoney

Money Type - Converts from a decimal type

CrmNumber

CRM whole number - Converts from a Int type

Customer

Ref Type for CRM, Creates an EntityReference You need to provide a Guid as a value, and a the name of an entity for the lookup key

Key

Primary Key - Converts from a Guid Type

Lookup

Ref Type for CRM, Creates an EntityReference You need to provide a Guid as a value, and a the name of an entity for the lookup key

Picklist

Pick List value - Converts from a Int type

Raw

User Specified type... will be appended directly. This type must be one of the valid CRM 2011 types

String

String type - Converts from a string type.

UniqueIdentifier

Guid Type - Converts from a Guid Type

See Also

Microsoft.Xrm.Tooling.Connector Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright