Index: Doc/Extra/Provider/environment.html
==================================================================
--- Doc/Extra/Provider/environment.html
+++ Doc/Extra/Provider/environment.html
@@ -194,10 +194,16 @@
library pre-loader. This environment variable can be especially
useful in ASP.NET and other hosted environments where direct control
of the location of the managed assemblies is not under the control
of the application.
+
+ PreLoadSQLite_BreakIntoDebugger |
+ If this configuration variable is set [to anything], the native
+ library pre-loader subsystem will attempt to give the interactive
+ user an opportunity to attach a debugger to the current process. |
+
PreLoadSQLite_LibraryFileNameOnly |
If this environment variable is set [to anything], it will be
used as the base file name (without directory information) for the
native SQLite library to be pre-loaded (e.g. "sqlite3.dll" or
Index: System.Data.SQLite.Linq/SQLiteProviderFactory.cs
==================================================================
--- System.Data.SQLite.Linq/SQLiteProviderFactory.cs
+++ System.Data.SQLite.Linq/SQLiteProviderFactory.cs
@@ -11,10 +11,11 @@
namespace System.Data.SQLite.Linq
#endif
{
using System;
using System.Data.Common;
+ using System.Globalization;
#if USE_ENTITY_FRAMEWORK_6
using System.Data.Entity.Core.Common;
#endif
@@ -138,12 +139,22 @@
)
{
if ((serviceType == typeof(ISQLiteSchemaExtensions)) ||
(serviceType == typeof(DbProviderServices)))
{
+ SQLiteLog.LogMessage(HelperMethods.StringFormat(
+ CultureInfo.CurrentCulture,
+ "IServiceProvider.GetService for type \"{0}\" (success).",
+ serviceType));
+
return SQLiteProviderServices.Instance;
}
+
+ SQLiteLog.LogMessage(HelperMethods.StringFormat(
+ CultureInfo.CurrentCulture,
+ "IServiceProvider.GetService for type \"{0}\" (failure).",
+ serviceType));
return null;
}
#endregion
Index: System.Data.SQLite/Configurations/System.Data.SQLite.dll.config
==================================================================
--- System.Data.SQLite/Configurations/System.Data.SQLite.dll.config
+++ System.Data.SQLite/Configurations/System.Data.SQLite.dll.config
@@ -154,10 +154,19 @@
the control of the application.
-->
+
+
+
|