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

浙公网安备 33010602011771号