SCM

[#1011213] EF : invalid exception with time column

View Trackers | Bugs | Download .csv | Monitor

Date:
2012-07-18 07:21
Priority:
3
State:
Open
Submitted by:
Guillaume BOTTESI (gbottesi)
Assigned to:
Nobody (None)
Npgsql Version:
None
Category:
Group:
Resolution:
None
Summary:
EF : invalid exception with time column

Detailed description
I have a table with a time column:

CREATE TABLE myTable
(
id bigint NOT NULL DEFAULT nextval('mySequence'::regclass),
...
rappel time without time zone,
...
)
WITH (
OIDS=FALSE
)
TABLESPACE MyTablesapce;


when trying to do EF requests on it, I have a NotSupportedException in SqlBaseGenerator.GetDbType.

This could easily be solved by adding:

case PrimitiveTypeKind.Time:
return "time";

Thx

Followup

No Followups Have Been Posted

Attached Files:

Changes:

No Changes Have Been Made to This Item

Powered By FusionForge