The table below contains type mapping rules that are used to map Salesforce.com or Database.com field types to .NET types.
Salesforce Native Data Type |
Provider Data Type |
.NET Data Type |
---|---|---|
ANYTYPE | STRING | String |
AUTONUMBER | STRING | String |
BINARY | BINARY | Byte[] |
CHECKBOX | BOOLEAN | Boolean |
COMBOBOX | STRING | String |
CURRENCY | DOUBLE | Double |
DATE | DATE | DateTime |
DATETIME | DATETIME | DateTime |
STRING | String | |
HTML | STRING | String |
ID | STRING | String |
INT | INT | Int32 |
LONGTEXTAREA | STRING | String |
MULTISELECTPICKLIST | STRING | String |
NUMBER | DOUBLE | Double |
PERCENT | DOUBLE | Double |
PHONE | STRING | String |
PICKLIST | STRING | String |
REFERENCE | STRING | String |
TEXT | STRING | String |
TEXTAREA | STRING | String |
TIME | TIME | DateTime |
URL | STRING | String |