Dapper parameters not working with PostgreSQL through npgsql connection, is postgres anonymous function parameterization supported?

前端 未结 1 355
無奈伤痛
無奈伤痛 2021-01-21 03:01

I\'m trying to use dapper to parameterize a postgres anonymous function i\'ve written to do an upsert. Here\'s the code:

private static int UpsertProductPrice(
          


        
相关标签:
1条回答
  • 2021-01-21 03:23

    Parameters in anonymous code blocks aren't supported, this would be a PostgreSQL feature rather than an Npgsql feature. See discussion here: https://github.com/npgsql/npgsql/issues/629

    0 讨论(0)
提交回复
热议问题