/// <summary> /// Loads the specified field. /// </summary> /// <param name="field">The field.</param> /// <returns></returns> public static MetaDictionary Load(MetaField field) { if (field == null) { throw new ArgumentNullException("field"); } return(MetaDictionary.Load(field.Id)); }
public void LoadDictionary() { if (_dictionary == null) { switch (_dataType) { case MetaDataType.DictionaryMultivalue: case MetaDataType.DictionarySingleValue: case MetaDataType.EnumMultivalue: case MetaDataType.EnumSingleValue: _dictionary = MetaDictionary.Load(Id); break; } } }