google-code-export / dblinq2007

Automatically exported from code.google.com/p/dblinq2007
Other
0 stars 0 forks source link

TimeSpan not supported #207

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
TimeSpan is not supported when returned from the database. This happens 
when a PostgreSQL table has a interval column

Steps to reproduce:
1.- SQL:
CREATE TABLE test
(
  mytime interval
);
INSERT INTO test VALUES ('01:00');

2.- Code:
Test res = (from t in db.Test select t).FirstOrDefault ();
Console.WriteLine (res.Mytime);

Original issue reported on code.google.com by juan...@gmail.com on 23 Feb 2010 at 3:25

GoogleCodeExporter commented 9 years ago
What error do you get from this?

Original comment by jonmpr...@gmail.com on 11 Mar 2010 at 8:12

GoogleCodeExporter commented 9 years ago

Original comment by jonmpr...@gmail.com on 12 Mar 2010 at 10:27