@@ -171,13 +171,13 @@ public partial class SQLiteConnection : IDisposable
171
171
/// </param>
172
172
/// <param name="storeDateTimeAsTicks">
173
173
/// Specifies whether to store DateTime properties as ticks (true) or strings (false). You
174
- /// absolutely do want to store them as Ticks in all new projects. The default of false is
174
+ /// absolutely do want to store them as Ticks in all new projects. The value of false is
175
175
/// only here for backwards compatibility. There is a *significant* speed advantage, with no
176
176
/// down sides, when setting storeDateTimeAsTicks = true.
177
177
/// If you use DateTimeOffset properties, it will be always stored as ticks regardingless
178
178
/// the storeDateTimeAsTicks parameter.
179
179
/// </param>
180
- public SQLiteConnection ( string databasePath , bool storeDateTimeAsTicks = false )
180
+ public SQLiteConnection ( string databasePath , bool storeDateTimeAsTicks = true )
181
181
: this ( databasePath , SQLiteOpenFlags . ReadWrite | SQLiteOpenFlags . Create , storeDateTimeAsTicks )
182
182
{
183
183
}
@@ -190,13 +190,13 @@ public SQLiteConnection (string databasePath, bool storeDateTimeAsTicks = false)
190
190
/// </param>
191
191
/// <param name="storeDateTimeAsTicks">
192
192
/// Specifies whether to store DateTime properties as ticks (true) or strings (false). You
193
- /// absolutely do want to store them as Ticks in all new projects. The default of false is
193
+ /// absolutely do want to store them as Ticks in all new projects. The value of false is
194
194
/// only here for backwards compatibility. There is a *significant* speed advantage, with no
195
195
/// down sides, when setting storeDateTimeAsTicks = true.
196
196
/// If you use DateTimeOffset properties, it will be always stored as ticks regardingless
197
197
/// the storeDateTimeAsTicks parameter.
198
198
/// </param>
199
- public SQLiteConnection ( string databasePath , SQLiteOpenFlags openFlags , bool storeDateTimeAsTicks = false )
199
+ public SQLiteConnection ( string databasePath , SQLiteOpenFlags openFlags , bool storeDateTimeAsTicks = true )
200
200
{
201
201
if ( string . IsNullOrEmpty ( databasePath ) )
202
202
throw new ArgumentException ( "Must be specified" , "databasePath" ) ;
0 commit comments