text: public virtual void SetHierarchical(string dimName, bool v){lock (this){if (!fieldTypes.TryGetValue(dimName, out DimConfig fieldType)){fieldTypes[dimName] = new DimConfig { IsHierarchical = v };}else{fieldType.IsHierarchical = v;}}}