public override int GetHashCode() { unchecked { int result = FromColumn.GetHashCode(); result = (result * 397) ^ Comparison.GetHashCode(); result = (result * 397) ^ ToColumn.GetHashCode(); return(result); } }
public override bool Equals(object o) { if (this == o) { return(true); } if (o == null || GetType() != o.GetType()) { return(false); } var that = (MetaForeignKeyColumnMapping)o; if (FromColumn != null && !FromColumn.Equals(that.FromColumn, StringComparison.OrdinalIgnoreCase)) { return(false); } if (ToColumn != null && !ToColumn.Equals(that.ToColumn, StringComparison.OrdinalIgnoreCase)) { return(false); } return(true); }
void ReleaseDesignerOutlets() { if (ClickedLabel != null) { ClickedLabel.Dispose(); ClickedLabel = null; } if (SectorsTable != null) { SectorsTable.Dispose(); SectorsTable = null; } if (AirlineColumn != null) { AirlineColumn.Dispose(); AirlineColumn = null; } if (FlightNumberColumn != null) { FlightNumberColumn.Dispose(); FlightNumberColumn = null; } if (DateColumn != null) { DateColumn.Dispose(); DateColumn = null; } if (FromColumn != null) { FromColumn.Dispose(); FromColumn = null; } if (ToColumn != null) { ToColumn.Dispose(); ToColumn = null; } if (DistanceColumn != null) { DistanceColumn.Dispose(); DistanceColumn = null; } if (CabinColumn != null) { CabinColumn.Dispose(); CabinColumn = null; } if (SeatColumn != null) { SeatColumn.Dispose(); SeatColumn = null; } if (AircraftColumn != null) { AircraftColumn.Dispose(); AircraftColumn = null; } }