Mercurial > pub > bltoolkit
annotate Source/Data/DataProvider/Interpreters/SqliteDataProviderInterpreter.cs @ 2:79a04c6442bf
file name case fix
author | cin |
---|---|
date | Fri, 22 Aug 2014 13:41:57 +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 } |