1. 程式人生 > >Dynamics CRM Plugin 按照欄位型別取值

Dynamics CRM Plugin 按照欄位型別取值

十進位制數    GetAttributeValue<decimal>

浮點數       GetAttributeValue<double>

整數           GetAttributeValue<int>

貨幣           GetAttributeValue<Money>

選項           GetAttributeValue<OptionSetValue>

兩個選項    GetAttributeValue<bool>

時間           GetAttributeValue<DateTime>

LookUp     GetAttributeValue<EntityReference>

文字           GetAttributeValue<string>

狀態           GetAttributeValue<OptionSetValue>