public Attribute GetAttribute(string name) { if (Branches.Exists(x => x.ColumnName == name)) { return(Branches.Single(x => x.ColumnName == name)); } return(null); }