Closed Alikont closed 2 years ago
PDOSqlServerDriver does not implement Quote method.
PDOSqlServerDriver
Quote
As a workaround we created custom implementation of PDOSqlServerDriver by subclassing it, and overriding it in PDOEngine, via workaround specified in #1057
PDOEngine
public override string Quote(string str, PDO.PARAM param) { if (string.IsNullOrEmpty(str)) { return "''"; } else { return $"'{str.Replace("'", "''")}'"; } }
PDOSqlServerDriver
does not implementQuote
method.As a workaround we created custom implementation of
PDOSqlServerDriver
by subclassing it, and overriding it inPDOEngine
, via workaround specified in #1057