public IndexColumn Clone(Table parent) { IndexColumn column = new IndexColumn(parent); column.Id = this.Id; column.Sequence = this.Sequence; column.Name = this.Name; column.Order = this.Order; column.Status = this.Status; return(column); }
public static Boolean Compare(IndexColumn origen, IndexColumn destino) { if (destino == null) { throw new ArgumentNullException("destino"); } if (origen == null) { throw new ArgumentNullException("origen"); } if (origen.Order != destino.Order) { return(false); } if (origen.Sequence != destino.Sequence) { return(false); } return(true); }