Вы должны создать собственный PostgresCompiler
var connection = new NpgsqlConnection("Host=localhost;Username=username;Password=pass;Database=db name");
connection.Open();
var compiler2 = new MyPostgresCompiler();
var db2 = new QueryFactory(connection, compiler2);
var list = new XQuery(connection, compiler2).From("employee").Get();
, а MyPostgresCompiler:
`public class MyPostgresCompiler : PostgresCompiler{
public MyPostgresCompiler()
{
OpeningIdentifier = string.Empty;
ClosingIdentifier = string.Empty;
}
public override string WrapValue(string value)
{
return value;
}}`