public override bool Equals(object obj) { Projection y = obj as Projection; if (y == null) { return(false); } else if (this.GetType() != y.GetType()) { return(false); } else { return(this.JoinAlias == y.JoinAlias && this.PropertyName == y.PropertyName); } }