annotate Source/Data/DataProvider/Interpreters/SqliteDataProviderInterpreter.cs @ 4:f757da6161a1
!bug 100 + 2h fixed gregression
author |
cin |
date |
Sun, 24 Aug 2014 17:57:42 +0400 |
parents |
f990fcb411a9 |
children |
|
rev |
line source |
0
|
1 using System.Data;
|
|
2
|
|
3 namespace BLToolkit.Data.DataProvider.Interpreters
|
|
4 {
|
|
5 public class SqliteDataProviderInterpreter : DataProviderInterpreterBase
|
|
6 {
|
|
7 public override void SetParameterValue(IDbDataParameter parameter, object value)
|
|
8 {
|
|
9 if (parameter.DbType == DbType.DateTime2)
|
|
10 parameter.DbType = DbType.DateTime;
|
|
11
|
|
12 base.SetParameterValue(parameter, value);
|
|
13 }
|
|
14 }
|
|
15 } |