I\'m having a trouble with the \'
character in a connection string. Entity Framework throws an exception saying:
Format of the initializ
I have finally stumbled upon a correct answer. It appears, you have to surround the value with single quotes and additionally duplicate the inner apostrophe in order to escape it, like this:
Password='test''password'
This is such a dumb problem to waste this much time on. I hope it saves somebody time in the future.
Thanks to everyone for participating.