in project I am mapping DbType Time to System.TimeSpan. It should by fine, but I am still getting error DBML1005. I have noticed that this is frequently asked topic on internet, but in all the other topics were about mapping custom datatypes.
Error 1 DBML1005: Mapping between DbType 'Time NOT NULL' and Type 'System.TimeSpan' in Column 'RelayOnTime' of Type 'Terminal' is not supported.
<Column Name="RelayOnTime" Type="System.TimeSpan" DbType="Time NOT NULL"
CanBeNull="false" />