摘要: public static Schema.SObjectType getSobjectTypeByPrefix( String SObjectPrefix ){ for( Schema.SObjectType ot : Schema.getGlobalDescribe().values() ){ String keyPrefix = (String)ot.getDescribe().getKeyPrefix(); if( keyPrefix != null && keyPrefix.equals( SObjectPrefix ) ){ r... 阅读全文
posted @ 2012-10-16 15:18 hoho,SalesForce 阅读(441) 评论(0) 推荐(0) 编辑