The table below contains type mapping rules that are used to map Dynamics 365 field types to .NET types.
Dynamics 365 Native Data Type |
Provider Data Type |
.NET Data Type |
---|---|---|
Integer | INT | Int32 |
BigInt | LONG | Int64 |
Decimal | DECIMAL | Decimal |
Double | DOUBLE | Double |
String | STRING | String |
Boolean | BOOLEAN | Boolean |
DateTime | DATETIME | DateTime |
Customer | GUID | Guid |
Lookup | GUID | Guid |
Memo | STRING | String |
Money | DECIMAL | Decimal |
Owner | GUID | Guid |
PartyList | STRING | String |
Picklist | STRING | String |
State | STRING | String |
Status | STRING | String |
Uniqueidentifier | GUID | Guid |
CalendarRules | STRING | String |
ManagedProperty | STRING | String |
EntityName | STRING | String |