摘要:
Npgsql 是基于ADO.NET 的PostgreSQL 数据驱动。 Npgsql 官方 已经提供C# 数据类型与PostgreSQL数据类型的对应映射 地址: http://www.npgsql.org/doc/types.html Type mappings Type mappings whe 阅读全文
摘要:
1、日期字段 “年月日” 使用 date “年月日 时分秒” 使用 timestamp without time zone 2、布尔字段 使用 boolean 3、字符字段 使用 character varying(n) 注:如果使用character 类型 ,数据插入后数据库会补空格,建议用 ch 阅读全文