Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
postgres/npgsql 中参数赋值的符号 (@) 与冒号 (:) 之间的区别
我正在尝试搜索这个 但是使用符号几乎不可能获得结果 这两者之间有区别吗 例如被放入 C 中的查询字符串中 string strCmd SELECT FROM MyFunction user id action date vs string
postgresql
npgsql
如何使用 Dapper 从 .NET 7 执行 Postgresql 函数,而不列出所有参数的数据类型
我正在尝试将我的 NET 5 Web API 代码传输到 NET 7 我有一个名为的单例服务DataManager它实现了接口IDataManager 其中一项功能是Execute还有其他 C 函数 称为 Get GerMany 以及 In
c
postgresql
Dapper
npgsql
PostgreSQL 错误:EXECUTE 的查询字符串参数为空
我有一个名为证据的表 其中有一个触发器调用一个存储过程 该过程基本上按月进行表分区 但是 当我开始在负载下插入大 量行时 出现了一个模糊的错误 Npgsql NpgsqlException query string argument of
c
postgresql
PLpgSQL
npgsql
postgresql93
无法确定“Npgsql.NpgsqlFactory”类型的提供程序工厂的提供程序名称
我尝试运行一个测试项目 但没有成功 因为 npgsql 连接失败 我重新安装了 Npgsql Npgsql EntityFramework EntityFramwork 但问题仍然存在 结果消息 TestUserControl Contro
c
ASPNETMVC
postgresql
unittesting
npgsql
PostgreSQL:42883 运算符不存在:没有时区的时间戳 = 文本
我正在使用 Npgsql 3 0 3 0 和 PetaPoco 最新版本 当我运行这个命令时 var dateCreated DateTime Now just an example var sql new Sql WHERE date c
c
postgresql
npgsql
petapoco
使用 NLog .NET Core 将日志记录到 PostgreSQL DB
我尝试将日志记录集成到 NET Core 中的数据库 我能够设置 NLog 并将消息记录到 SQL Server 这很容易 但是当我尝试将 DB 切换到 PostgreSQL 时 似乎没有记录任何内容 以下是startup cs中的代码 p
postgresql
logging
ASPNETCore
NetCore
npgsql
Npgsql 参数化查询输出与 PostGIS 不兼容
我在 Npgsql 命令中有这个参数化查询 UPDATE raw geocoding SET the geom ST Transform ST GeomFromText POINT longitude latitude 4326 3081
c
postgresql
PostGIS
npgsql
PreparedStatement
如何以编程方式使用包含多列的 where-in 子句执行 PostgreSQL 查询?
我的查询是这样的 select from plat customs complex where code t code s in 01013090 10 01029010 90 它在 psql 控制台中运行良好 我的问题是如何在客户端代码中
Java
c
sql
postgresql
npgsql
Postgresql 上的 Castle Activerecord 错误是“关系不存在”?
ActiveRecord 映射 ActiveRecord JobTitle Schema public public class JobTitle ActiveRecordValidationBase
c
postgresql
nhibernate
castleactiverecord
npgsql
在 C# 中读取数组列
我的代码是这样的 但它给出了一个错误 array field is an array of double values NpgsqlCommand Command new NpgsqlCommand SELECT array fied fr
c
Arrays
npgsql
Kubernetes 上的 Npgsql 和 Pgbouncer - 池化和 keepalives
我正在寻找更详细的指导 其他人在 Pgbouncer 的生产中使用 Npgsql 的经验 基本上 我们使用 GKE 和 Google Cloud SQL 进行了以下设置 现在 我已经使用本地连接池配置了 npgsql 就好像 pgbounc
postgresql
ASPNETCore
Kubernetes
npgsql
pgbouncer
执行迁移时 Npgsql 找不到 NpgsqlException
当我做一个update database我得到的数据库发生错误 System Runtime Serialization SerializationException 类型不是 已解决成员 Npgsql NpgsqlException Np
EntityFramework
efcodefirst
entityframeworkmigrations
npgsql
为 Postgresql 安装 Npgsql.dll
所以我在安装 npgsql dll 和 mono security dll 时遇到问题 我长期以来一直试图解决这个问题 请帮忙 这是我已完成的步骤 从以下位置下载 zip 文件https github com npgsql npgsql h
c
NET
VisualStudio
postgresql
npgsql
本地 Postgres 的 Npgsql 连接字符串
下午好 我在连接到 Postgres 数据库时遇到问题 我正在开发的应用程序必须在 NET 4 上运行 我正在使用 Npgsql 因为我仅限于 NET 4 所以我使用 Npgsql 版本 2 2 7 我相信 3 需要 NET 4 5 该应用
c
NET
postgresql
npgsql
将大对象插入 Postgresql 返回 53200 Out of Memory 错误
PostgreSQL 9 1 NPGSQL 2 0 12 我想将二进制数据存储在 postgresql 数据库中 大多数文件加载良好 但是 大型二进制 664 Mb 文件会导致问题 当尝试通过 Npgsql 使用大对象支持将文件加载到 po
database
memory
blob
postgresql91
npgsql
如何仅使用单个连接在 Npgsql 中执行多个查询?
我在 npgsql 中创建了多个连接来执行多个查询 如下代码所示 class TransactionAccess private const string connString Host localhost Username postgre
c
postgresql
ASPNETCore
npgsql
使用 Daper.Net 和 NPGSQL 将数据插入 PostgreSQL jsonb 列
我正在尝试使用 Dapper Net 将 JSON 数据插入到 JSONB PostgreSQL 列中 The JSONB 的 NPGSQL 文档 http www npgsql org doc faq html给出了具体的使用说明Npgs
c
postgresql
Dapper
npgsql
如何使用 Npgsql 管理 SQLserver 到 PostgreSQL 的迁移?
我正在用 C 编写一个使用 MVC 模式的 Web 应用程序作为实习 我正在尝试将 EntityFramework 创建的 SQLserver 数据库迁移到 PostgreSQL 数据库 我在网上找到了一个解决方案 Npgsql 它似乎完成
c
postgresql
EntityFramework
npgsql
如何将参数传递给sql'in'语句?
我想创建这个查询 select from products where number in 123 234 456 但我找不到任何使用 Npgsql 和 NpgsqlParameter 实现此目的的示例 我尝试这样 string numbe
c
postgresql
adonet
npgsql
npgsql 和实体框架代码优先设置问题
我最近收到的错误是 ERROR 42P01 relation dbo MigrationHistory does not exist 但我确信这只是因为之前的某些事情没有正确设置 我目前正在尝试首先设置实体框架 4 4 代码以使用 Npgs
c
EntityFramework
efcodefirst
npgsql
1
2
3
4
»