Npgsql 是基于ADO.NET 的PostgreSQL 数据驱动. Npgsql 官方 已经提供C# 数据类型与PostgreSQL数据类型的对应映射 地址: http://www.npgsql.org/doc/types.html Type mappings Type mappings when reading values sent from the backend PostgreSQL type Default .NET type Provider-specific type Othe