CrmFieldType Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allowed typelist of entities
public enum class CrmFieldType
public enum CrmFieldType
type CrmFieldType =
Public Enum CrmFieldType
- Inheritance
-
CrmFieldType
Fields
CrmBoolean | 0 | Bool - Converts from bool |
CrmDateTime | 1 | DateTime - Converts from a DataTime Object |
CrmDecimal | 2 | Decimal, for money, use CrmMoney - Converts from a decimal type |
CrmFloat | 3 | Double type, while CRM calls this a float, it is actually a double for money, use CrmMoney - Converts from a double type |
CrmMoney | 4 | Money Type - Converts from a decimal type |
CrmNumber | 5 | CRM whole number - Converts from a Int type |
Customer | 6 | 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 |
File | 13 | |
Image | 12 | |
Key | 7 | Primary Key - Converts from a Guid Type |
Lookup | 8 | 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 | 9 | Pick List value - Converts from a Int type |
Raw | 14 | User Specified type... will be appended directly. This type must be one of the valid CRM 2011 types |
String | 10 | String type - Converts from a string type. |
UniqueIdentifier | 11 | Guid Type - Converts from a Guid Type |