public void RemoveColumnComment(string columnName) { foreach (var item in ColumnComments) { if (item.ColumnName.Equals(columnName)) { ColumnComments.Remove(item); return; } } }
public void AddColumnComment(string columnName, string comment) { RemoveColumnDefaultValue(columnName); ColumnComments.Add(new ColumnComment(columnName, comment)); }