/* Get MAttributeSet from Cache * @param ctx context * @param M_AttributeSet_ID id * @return MAttributeSet */ public static MAttributeSet Get(Ctx ctx, int M_AttributeSet_ID) { int key = M_AttributeSet_ID; MAttributeSet retValue = (MAttributeSet)s_cache[key]; if (retValue != null) { return(retValue); } retValue = new MAttributeSet(ctx, M_AttributeSet_ID, null); if (retValue.Get_ID() != 0) { s_cache.Add(key, retValue); } return(retValue); }