public override bool Equals(object obj)
{
if (this == obj) {
return true;
}
if (obj == null) {
return false;
}
if (!this.GetType().IsAssignableFrom(obj.GetType())) {
return false;
}
Profile other = (Profile)obj;
if (!Guid.Equals(other.Guid)) {
return false;
}
return this.GetHashCode() == obj.GetHashCode();
}