Ho cercato la tabella di conversione dei tipi tra PostgreSQL e C#, ma non ho trovato nulla. Cercherò una cella vuota sopra il tavolo se avrò tempo. Ma se conosci la pagina web che contiene queste informazioni, sono molto adatto al tuo aiuto.Datatype PostgreSQL e C#
Postgre Type --->C# Type
bigint --->Int64
bigserial --->
bit [ (n) ] --->Byte[]
bit varying [ (n) ] --->Byte
boolean --->Boolean
box --->
bytea --->Byte[]
character varying [ (n) ] ---> String
character --->String
cidr
circle
date --->DateTime
double precision --->Double
inet
integer --->Int32
interval [ (p) ] --->TimeSpan
line
lseg
macaddr
money
numeric [ (p, s) ] --->Decimal
decimal [ (p, s) ] --->Decimal
path
point
polygon
real --->Single
smallint --->Int16
serial
text --->String
time [ (p) ] [ without time zone ] --->
time [ (p) ] with time zone --->
timestamp [ (p) ] [ without time zone ] --->
timestamp [ (p) ] with time zone --->
tsquery
tsvector
txid_snapshot
uuid --->Guid
xml
Oh grazie mille e la tua rapida risposta. Questo è proprio quello che voglio !! – Higty
Prego! – splattne
Non sono sicuro se questa data è scaduta, ma ho avuto alcuni problemi nel far convertire un oggetto DateTime in un tipo "time" Postgresql. http://stackoverflow.com/questions/6129558/nhibernate-postgresql-datetime-to-time-conversion/6138382. Avevo bisogno di usare un oggetto TimeSpan per farlo salvare come oggetto orario Postgresql. –