ssteenkiste / nettiers

Automatically exported from code.google.com/p/nettiers
1 stars 0 forks source link

SQL Datetime2 mapped as DbType.Object #416

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create table with datetime2(2) data typed column
2. generate code
3. insert a record
4. an exception of unmatched data thrown!

What is the expected output? What do you see instead?
it maps datetime2 columns to DbType.Object instead of DbType.DateTime

What version of .netTiers and CodeSmith are you using?
.netTiers 2.3.1
CodeSmith 5.0.1.4983

Please provide any additional information below.

Original issue reported on code.google.com by TARIQALA...@gmail.com on 22 Jan 2012 at 9:05