Dela via


CrmFieldType Enumeration

 

Applies To: Dynamics CRM 2015

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 enum class CrmFieldType
type 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

© 2016 Microsoft. All rights reserved. Copyright