It is direct discrimination to treat you less favourably because of your sexual orientation than someone of a different sexual orientation would be treated in the same circumstances. Direct discrimination because of sexual orientation
This is known as discrimination by association