public bool Equals(TSCSingersSongs a) { if ((object)a == null) { return(false); } return(FieldsEqual(this, a)); }
public TSCSingersSongs(TSCSingersSongs tscsongs) : this() { SingerKey = new string(tscsongs.SingerKey.ToArray()); Title = new string(tscsongs.Title.ToArray()); Artist = new string(tscsongs.Artist.ToArray()); URL = new string(tscsongs.URL.ToArray()); Date = tscsongs.Date; }
public static bool FieldsEqual(TSCSingersSongs a, TSCSingersSongs b) { return( (a.SingerKey == b.SingerKey) && (a.Title == b.Title) && (a.Artist == b.Artist) && (a.URL == b.URL) && (true) ); }
public bool KeyEquals(TSCSingersSongs a) { if ((object)a == null) { return(false); } return( a.SingerKey.Trim().ToLower() == SingerKey.Trim().ToLower() && a.Title.Trim().ToLower() == Title.Trim().ToLower() && a.Artist.Trim().ToLower() == Artist.Trim().ToLower() ); }
public override bool Equals(object obj) { if (obj == null) { return(false); } TSCSingersSongs a = obj as TSCSingersSongs; if (a == null) { return(false); } return(FieldsEqual(this, a)); }