public static SqlBoolean operator ==(SqlGuid x, SqlGuid y) { return (x.IsNull || y.IsNull) ? SqlBoolean.Null : new SqlBoolean(Compare(x, y) == EComparison.EQ); }