Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add missing #ifdefs for compact framework (where SQLiteLog is not used). |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
ee8edc8eb3a754ee3f8b0495787b1a11 |
User & Date: | mistachkin 2011-07-11 21:19:18.646 |
Context
2011-07-12
| ||
15:14 | Fix for [74807fbf27], enable STAT2 for the interop assembly. check-in: d23e494cea user: mistachkin tags: trunk | |
2011-07-11
| ||
21:19 | Add missing #ifdefs for compact framework (where SQLiteLog is not used). check-in: ee8edc8eb3 user: mistachkin tags: trunk | |
21:09 | Fix doc display issues. check-in: 6e61cb4b3f user: mistachkin tags: trunk | |
Changes
Changes to System.Data.SQLite/LINQ/SQLiteFactory_Linq.cs.
︙ | ︙ | |||
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | public sealed partial class SQLiteFactory : IServiceProvider { private static Type _dbProviderServicesType; private static object _sqliteServices; static SQLiteFactory() { SQLiteLog.Initialize(); string version = #if NET_20 "3.5.0.0"; #else "4.0.0.0"; #endif | > > | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | public sealed partial class SQLiteFactory : IServiceProvider { private static Type _dbProviderServicesType; private static object _sqliteServices; static SQLiteFactory() { #if !PLATFORM_COMPACTFRAMEWORK SQLiteLog.Initialize(); #endif string version = #if NET_20 "3.5.0.0"; #else "4.0.0.0"; #endif |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteConnection.cs.
︙ | ︙ | |||
230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 | /// <summary> /// Initializes the connection with the specified connection string /// </summary> /// <param name="connectionString">The connection string to use on the connection</param> public SQLiteConnection(string connectionString) { SQLiteLog.Initialize(); _connectionState = ConnectionState.Closed; _connectionString = ""; //_commandList = new List<WeakReference>(); if (connectionString != null) ConnectionString = connectionString; | > > | 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 | /// <summary> /// Initializes the connection with the specified connection string /// </summary> /// <param name="connectionString">The connection string to use on the connection</param> public SQLiteConnection(string connectionString) { #if !PLATFORM_COMPACTFRAMEWORK SQLiteLog.Initialize(); #endif _connectionState = ConnectionState.Closed; _connectionString = ""; //_commandList = new List<WeakReference>(); if (connectionString != null) ConnectionString = connectionString; |
︙ | ︙ |