public override void doRuleQuickFix(SQLAttribute eaAttribute, SQLRepository repository, int i, String errorMessage) { if (i == 0) { eaAttribute.getRealAttribute().Name = Regex.Replace(eaAttribute.Name, " ", ""); eaAttribute.getRealAttribute().Update(); } }
public void updateEaGui() { EA.Attribute realElement = enumLiteral.getRealAttribute(); realElement.Name = this.Name; realElement.Default = this.Value; realElement.Alias = this.Literal; realElement.Update(); }
public EEnumLiteral(SQLAttribute attribute, SQLRepository sqlRep) { this.Repository = sqlRep; this.enumLiteral = attribute; this.Name = attribute.Name; this.Value = attribute.Default; this.Literal = attribute.getRealAttribute().Alias; if (Literal == "") { Literal = Name; } }