public TSCSingers(TSCSingers tscsingers) : this() { SingerKey = new string(tscsingers.SingerKey.ToArray()); SingerName = new string(tscsingers.SingerName.ToArray()); SingerEmail = new string(tscsingers.SingerEmail.ToArray()); SingerActivity = tscsingers.SingerActivity; }
public bool Equals(TSCSingers a) { if ((object)a == null) { return(false); } return(FieldsEqual(this, a)); }
public bool KeyEquals(TSCSingers a) { if ((object)a == null) { return(false); } return( (a.SingerKey.Trim().ToLower() == SingerKey.Trim().ToLower()) ); }
private static bool FieldsEqual(TSCSingers a, TSCSingers b) { return( (a.SingerKey == b.SingerKey) && (a.SingerName == b.SingerName) && (a.SingerEmail == b.SingerEmail) && (a.SingerActivity == b.SingerActivity) && (true) ); }
public override bool Equals(object obj) { if (obj == null) { return(false); } TSCSingers a = obj as TSCSingers; if (a == null) { return(false); } return(FieldsEqual(this, a)); }