Ejemplo n.º 1
0
        internal static string GetColumn(PropertyDefinition prop)
        {
            string result;

            try
            {
                Type   key  = DalHelper.ConvertToStoreType(prop);
                string text = null;
                PropertyTable.PropertyValueColumns.TryGetValue(key, out text);
                result = text;
            }
            catch (Exception innerException)
            {
                throw new InvalidOperationException(HygieneDataStrings.ErrorInvalidColumnType(prop.Name, prop.Type.Name), innerException);
            }
            return(result);
        }
Ejemplo n.º 2
0
 public LocDescriptionAttribute(HygieneDataStrings.IDs ids) : base(HygieneDataStrings.GetLocalizedString(ids))
 {
 }