/// <summary> /// 更加编码得到类型 /// </summary> public string GetTypeBuCode(int code) { string v = "String"; switch (code) { case 0: v = "Boolean"; break; case 1: v = "Customer"; break; case 2: v = "DateTime"; break; case 3: v = "Decimal"; break; case 4: v = "Double"; break; case 5: v = "Integer"; break; case 6: v = "Lookup"; break; case 7: v = "Memo"; break; case 8: v = "Money"; break; case 9: v = "Owner"; break;
case 10: v = "PartyList"; break; case 11: v = "Picklist"; break; case 12: v = "State"; break; case 13: v = "Status"; break; case 14: v = "String"; break; case 15: v = "Uniqueidentifier"; break; case 16: v = "CalendarRules"; break; case 17: v = "Virtual"; break; case 18: v = "BigInt"; break;
case 19: v = "ManagedProperty"; break; case 20: v = "EntityName"; break; } return v; }