public string ParseDictionaryValueByCategoryNameAndKey(string categoryName, string key) { SystemDictionaryEntity dictionaryEntity = this.SelfDataObj.GetDictionaryByCategoryNameAndKey(categoryName, key); if (dictionaryEntity == null) { return(key); } else { return(dictionaryEntity.SystemDictionaryValue); } }
internal static SystemDictionaryWrapper ConvertEntityToWrapper(SystemDictionaryEntity entity) { if (entity == null) { return(null); } if (entity.SystemDictionaryID == 0) { return(null); } return(new SystemDictionaryWrapper(entity)); }
internal SystemDictionaryWrapper(SystemDictionaryEntity entityObj) { entity = entityObj; }
internal SystemDictionaryWrapper(SystemDictionaryEntity entityObj) : base(entityObj) { }