public bool Equals(TSCEvents a) { if ((object)a == null) { return(false); } return(FieldsEqual(this, a)); }
public bool KeyEquals(TSCEvents a) { if ((object)a == null) { return(false); } return( (a.EventKey.Trim().ToLower() == EventKey.Trim().ToLower()) ); }
public TSCEvents(TSCEvents tscevents) : this() { EventKey = new string(tscevents.EventKey.ToArray()); EventName = new string(tscevents.EventName.ToArray()); VenueKey = new string(tscevents.VenueKey.ToArray()); EventDate = tscevents.EventDate; EventEmail = new string(tscevents.EventEmail.ToArray()); EventAddress = new string(tscevents.EventAddress.ToArray()); }
private static bool FieldsEqual(TSCEvents a, TSCEvents b) { return( (a.EventKey == b.EventKey) && (a.EventName == b.EventName) && (a.VenueKey == b.VenueKey) && (a.EventDate == b.EventDate) && (a.EventEmail == b.EventEmail) && (a.EventAddress == b.EventAddress) && (true) ); }
public override bool Equals(object obj) { if (obj == null) { return(false); } TSCEvents a = obj as TSCEvents; if (a == null) { return(false); } return(FieldsEqual(this, a)); }