Index: System.Data.SQLite/AssemblyInfo.cs
==================================================================
--- System.Data.SQLite/AssemblyInfo.cs
+++ System.Data.SQLite/AssemblyInfo.cs
@@ -26,6 +26,6 @@
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
-[assembly: AssemblyVersion("1.0.7.*")]
+[assembly: AssemblyVersion("1.0.8.*")]
Index: System.Data.SQLite/SQLiteCommandBuilder.cs
==================================================================
--- System.Data.SQLite/SQLiteCommandBuilder.cs
+++ System.Data.SQLite/SQLiteCommandBuilder.cs
@@ -78,11 +78,13 @@
#if !PLATFORM_COMPACTFRAMEWORK
///
/// Obsolete
///
+#if !BETA1
[Obsolete]
+#endif
protected override DbProviderFactory ProviderFactory
{
get
{
return new SQLiteFactory();
Index: System.Data.SQLite/SQLiteConnection.cs
==================================================================
--- System.Data.SQLite/SQLiteConnection.cs
+++ System.Data.SQLite/SQLiteConnection.cs
@@ -108,11 +108,11 @@
///
/// Commands associated with this connection
///
internal List _commandList;
-#if !PLATFORM_COMPACTFRAMEWORK
+#if !PLATFORM_COMPACTFRAMEWORK && !BETA1
///
///
/// This event is raised whenever the database is opened or closed.
///
public override event StateChangeEventHandler StateChange;
@@ -167,11 +167,11 @@
}
}
}
}
-#if PLATFORM_COMPACTFRAMEWORK
+#if PLATFORM_COMPACTFRAMEWORK && !BETA1
public override int ConnectionTimeout
{
get
{
return 30;
@@ -214,11 +214,11 @@
internal void OnStateChange(ConnectionState newState)
{
ConnectionState oldState = _connectionState;
_connectionState = newState;
-#if !PLATFORM_COMPACTFRAMEWORK
+#if !PLATFORM_COMPACTFRAMEWORK && !BETA1
if (StateChange != null && oldState != newState)
{
StateChangeEventArgs e = new StateChangeEventArgs(oldState, newState);
StateChange(this, e);
}
Index: System.Data.SQLite/SQLiteFunction.cs
==================================================================
--- System.Data.SQLite/SQLiteFunction.cs
+++ System.Data.SQLite/SQLiteFunction.cs
@@ -71,11 +71,11 @@
public abstract class SQLiteFunction : IDisposable
{
private SQLiteBase _base;
private int _interopCookie;
-#if !PLATFORM_COMPACTFRAMEWORK
+#if !PLATFORM_COMPACTFRAMEWORK && !BETA1
private SortedList _contextDataList;
#else
private SortedList _contextDataList;
#endif
@@ -92,11 +92,11 @@
///
/// Internal constructor, initializes the function's internal variables.
///
protected SQLiteFunction()
{
-#if !PLATFORM_COMPACTFRAMEWORK
+#if !PLATFORM_COMPACTFRAMEWORK && !BETA1
_contextDataList = new SortedList();
#else
_contextDataList = new SortedList();
#endif
_InvokeFunc = null;
@@ -367,11 +367,11 @@
{
Dispose(true);
IDisposable disp;
-#if !PLATFORM_COMPACTFRAMEWORK
+#if !PLATFORM_COMPACTFRAMEWORK && !BETA1
foreach (KeyValuePair kv in _contextDataList)
#else
foreach (DictionaryEntry kv in _contextDataList)
#endif
{
@@ -389,10 +389,11 @@
_contextDataList = null;
GC.SuppressFinalize(this);
}
+#if !PLATFORM_COMPACTFRAMEWORK
///
/// Using reflection, enumerate all assemblies in the current appdomain looking for classes that
/// have a SQLiteFunctionAttribute attribute, and registering them accordingly.
///
static SQLiteFunction()
@@ -419,11 +420,11 @@
}
}
}
}
}
-
+#else
///
/// Manual method of registering a function. The type must still have the SQLiteFunctionAttributes in order to work
/// properly, but this is a workaround for the Compact Framework where enumerating assemblies is not currently supported.
///
/// The type of the function to register
@@ -441,10 +442,11 @@
at.InstanceType = typ;
_registeredFunctions.Add(at);
}
}
}
+#endif
///
/// Called by SQLiteBase derived classes, this function binds all user-defined functions to a connection.
/// It is done this way so that all user-defined functions will access the database using the same encoding scheme
/// as the connection (UTF-8 or UTF-16).
Index: System.Data.SQLite/SQLiteParameterCollection.cs
==================================================================
--- System.Data.SQLite/SQLiteParameterCollection.cs
+++ System.Data.SQLite/SQLiteParameterCollection.cs
@@ -227,11 +227,11 @@
public override int Count
{
get { return _parameterList.Count; }
}
-#if !PLATFORM_COMPACTFRAMEWORK
+#if !PLATFORM_COMPACTFRAMEWORK && !BETA1
///
///
///
///
///
@@ -314,11 +314,11 @@
{
_unboundFlag = true;
_parameterList.RemoveAt(index);
}
-#if !PLATFORM_COMPACTFRAMEWORK
+#if !PLATFORM_COMPACTFRAMEWORK && !BETA1
///
///
///
///
///
Index: bin/SQLite.Interop.dll
==================================================================
--- bin/SQLite.Interop.dll
+++ bin/SQLite.Interop.dll
cannot compute difference between binary files
Index: bin/System.Data.SQLite.dll
==================================================================
--- bin/System.Data.SQLite.dll
+++ bin/System.Data.SQLite.dll
cannot compute difference between binary files
Index: bin/test.exe
==================================================================
--- bin/test.exe
+++ bin/test.exe
cannot compute difference between binary files