private static bool FieldsEqual(TSCVenues a, TSCVenues b) { return( (a.VenueKey == b.VenueKey) && (a.VenueName == b.VenueName) && (a.VenueEmail == b.VenueEmail) && (a.VenueAddress == b.VenueAddress) && (a.VenueContact == b.VenueContact) && (a.VenuePhone == b.VenuePhone) && (true) ); }
public override bool Equals(object obj) { if (obj == null) { return(false); } TSCVenues a = obj as TSCVenues; if (a == null) { return(false); } return(FieldsEqual(this, a)); }