I've upgraded an old project from 2.6 (.lgp) to a 5.5 (.llblgenproj) project and have trouble with a bunch of tables that have columns of type "time without time zone". The db is PostgreSQL 9.2
In the old project these columns were mapped to System.TimeSpan but now the designer says they are mapped to System.DateTime and i get errors like this:
The mapping of sub-element '[columnnameredacted]' of entity '[tablenameredacted]' for the target database with the driver 'PostgreSql Driver (Npgsql)' has the following errors:
- TypeConverterToUse: The .NET types of the mapped element field and the target field aren't the same/compatible and no implicit conversion is defined by the target framework for these types, so a type converter is needed.
Why does the LLBLGen designer think that these columns should be DateTime and how can I make them TimeSpan?