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); }
public LocDescriptionAttribute(HygieneDataStrings.IDs ids) : base(HygieneDataStrings.GetLocalizedString(ids)) { }