Ive worked with guys, gals, gals turned guy, and guys turned gals, and just like Richard, been hit on, have done hitting on etc... It all comes down to your relationship not your job, you could be in EMS, LE, or many other positions that would have you and a female all alone for hours on end. Its all about how you act with them.
My advice, is a mix of what's already been said my only flare to add is if you need therapy I'm always available for a consult!