diff --git a/.vs/ErrorLogger/v14/.suo b/.vs/ErrorLogger/v14/.suo
index 85338dc..0c87a02 100644
Binary files a/.vs/ErrorLogger/v14/.suo and b/.vs/ErrorLogger/v14/.suo differ
diff --git a/ErrorLogger.sln b/ErrorLogger.sln
index 5dd0492..3b830fa 100644
--- a/ErrorLogger.sln
+++ b/ErrorLogger.sln
@@ -10,77 +10,17 @@ EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
- Debug-Net45|Any CPU = Debug-Net45|Any CPU
- Debug-Net451|Any CPU = Debug-Net451|Any CPU
- Debug-Net452|Any CPU = Debug-Net452|Any CPU
- Debug-Net46|Any CPU = Debug-Net46|Any CPU
- Debug-Net461|Any CPU = Debug-Net461|Any CPU
- Debug-Net462|Any CPU = Debug-Net462|Any CPU
Release|Any CPU = Release|Any CPU
- Release-Net45|Any CPU = Release-Net45|Any CPU
- Release-Net451|Any CPU = Release-Net451|Any CPU
- Release-Net452|Any CPU = Release-Net452|Any CPU
- Release-Net46|Any CPU = Release-Net46|Any CPU
- Release-Net461|Any CPU = Release-Net461|Any CPU
- Release-Net462|Any CPU = Release-Net462|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug-Net45|Any CPU.ActiveCfg = Debug-Net45|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug-Net45|Any CPU.Build.0 = Debug-Net45|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug-Net451|Any CPU.ActiveCfg = Debug-Net451|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug-Net451|Any CPU.Build.0 = Debug-Net451|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug-Net452|Any CPU.ActiveCfg = Debug-Net452|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug-Net452|Any CPU.Build.0 = Debug-Net452|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug-Net46|Any CPU.ActiveCfg = Debug-Net46|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug-Net46|Any CPU.Build.0 = Debug-Net46|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug-Net461|Any CPU.ActiveCfg = Debug-Net461|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug-Net461|Any CPU.Build.0 = Debug-Net461|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug-Net462|Any CPU.ActiveCfg = Debug-Net462|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Debug-Net462|Any CPU.Build.0 = Debug-Net462|Any CPU
{0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release|Any CPU.Build.0 = Release|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release-Net45|Any CPU.ActiveCfg = Release-Net45|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release-Net45|Any CPU.Build.0 = Release-Net45|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release-Net451|Any CPU.ActiveCfg = Release-Net451|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release-Net451|Any CPU.Build.0 = Release-Net451|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release-Net452|Any CPU.ActiveCfg = Release-Net452|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release-Net452|Any CPU.Build.0 = Release-Net452|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release-Net46|Any CPU.ActiveCfg = Release-Net46|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release-Net46|Any CPU.Build.0 = Release-Net46|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release-Net461|Any CPU.ActiveCfg = Release-Net461|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release-Net461|Any CPU.Build.0 = Release-Net461|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release-Net462|Any CPU.ActiveCfg = Release-Net462|Any CPU
- {0718CDEB-4E82-47DB-B3B5-E16FA608A972}.Release-Net462|Any CPU.Build.0 = Release-Net462|Any CPU
{A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug-Net45|Any CPU.ActiveCfg = Debug-Net45|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug-Net45|Any CPU.Build.0 = Debug-Net45|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug-Net451|Any CPU.ActiveCfg = Debug-Net451|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug-Net451|Any CPU.Build.0 = Debug-Net451|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug-Net452|Any CPU.ActiveCfg = Debug-Net452|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug-Net452|Any CPU.Build.0 = Debug-Net452|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug-Net46|Any CPU.ActiveCfg = Debug-Net46|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug-Net46|Any CPU.Build.0 = Debug-Net46|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug-Net461|Any CPU.ActiveCfg = Debug-Net461|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug-Net461|Any CPU.Build.0 = Debug-Net461|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug-Net462|Any CPU.ActiveCfg = Debug-Net462|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Debug-Net462|Any CPU.Build.0 = Debug-Net462|Any CPU
{A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release|Any CPU.Build.0 = Release|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release-Net45|Any CPU.ActiveCfg = Release-Net45|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release-Net45|Any CPU.Build.0 = Release-Net45|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release-Net451|Any CPU.ActiveCfg = Release-Net451|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release-Net451|Any CPU.Build.0 = Release-Net451|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release-Net452|Any CPU.ActiveCfg = Release-Net452|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release-Net452|Any CPU.Build.0 = Release-Net452|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release-Net46|Any CPU.ActiveCfg = Release-Net46|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release-Net46|Any CPU.Build.0 = Release-Net46|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release-Net461|Any CPU.ActiveCfg = Release-Net461|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release-Net461|Any CPU.Build.0 = Release-Net461|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release-Net462|Any CPU.ActiveCfg = Release-Net462|Any CPU
- {A94EC61B-A085-4BC7-97AE-4AAC105A87EA}.Release-Net462|Any CPU.Build.0 = Release-Net462|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/MJH.Logger/App.config b/MJH.Logger/App.config
index 302489a..2707029 100644
--- a/MJH.Logger/App.config
+++ b/MJH.Logger/App.config
@@ -11,16 +11,17 @@
-
+
+
+
+
-
-
-
+
\ No newline at end of file
diff --git a/MJH.Logger/Entities/EntityAuth.cs b/MJH.Logger/Entities/EntityAuth.cs
index 85be923..421fcf7 100644
--- a/MJH.Logger/Entities/EntityAuth.cs
+++ b/MJH.Logger/Entities/EntityAuth.cs
@@ -2,7 +2,7 @@
namespace MJH.Entities
{
- public partial class ErrorLoggerEntities : DbContext
+ public partial class ErrorLoggerEntities
{
public ErrorLoggerEntities(string connectionString)
: base(connectionString)
diff --git a/MJH.Logger/Entities/ErrorDb.edmx b/MJH.Logger/Entities/ErrorDb.edmx
index 3595de1..a9a9a95 100644
--- a/MJH.Logger/Entities/ErrorDb.edmx
+++ b/MJH.Logger/Entities/ErrorDb.edmx
@@ -4,7 +4,7 @@
-
+
@@ -18,8 +18,7 @@
-
-
+
diff --git a/MJH.Logger/LoggerConfig.xml b/MJH.Logger/LoggerConfig.xml
index c8a92dc..f579a68 100644
--- a/MJH.Logger/LoggerConfig.xml
+++ b/MJH.Logger/LoggerConfig.xml
@@ -10,7 +10,7 @@
5chne1deR
- 365
+ 0
@@ -19,7 +19,7 @@
D:\Tests\Logger
- 0
+ 0
@@ -29,7 +29,7 @@
D:\Tests\Logger\Archive
- 2
+ 2
1
diff --git a/MJH.Logger/MJH.Logger.csproj b/MJH.Logger/MJH.Logger.csproj
index 075e03a..c8508a9 100644
--- a/MJH.Logger/MJH.Logger.csproj
+++ b/MJH.Logger/MJH.Logger.csproj
@@ -9,7 +9,7 @@
Properties
MJH
MJH.Logger
- v4.6.2
+ v4.5
512
SAK
SAK
@@ -155,7 +155,7 @@
TRACE
prompt
4
- v4.6.2
+ v4.5
AnyCPU
@@ -172,15 +172,15 @@
- ..\packages\System.Data.SQLite.Core.1.0.103\lib\net46\System.Data.SQLite.dll
+ ..\packages\System.Data.SQLite.Core.1.0.103\lib\net45\System.Data.SQLite.dll
True
- ..\packages\System.Data.SQLite.EF6.1.0.103\lib\net46\System.Data.SQLite.EF6.dll
+ ..\packages\System.Data.SQLite.EF6.1.0.103\lib\net45\System.Data.SQLite.EF6.dll
True
- ..\packages\System.Data.SQLite.Linq.1.0.103\lib\net46\System.Data.SQLite.Linq.dll
+ ..\packages\System.Data.SQLite.Linq.1.0.103\lib\net45\System.Data.SQLite.Linq.dll
True
@@ -265,12 +265,12 @@
-
+
This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
+
@@ -19,7 +19,7 @@
D:\Tests\Logger
- 0
+ 0
@@ -29,7 +29,7 @@
D:\Tests\Logger\Archive
- 2
+ 2
1
diff --git a/MJH.Logger/bin/Debug/MJH.Logger.dll b/MJH.Logger/bin/Debug/MJH.Logger.dll
index 9b4e00b..9e9480e 100644
Binary files a/MJH.Logger/bin/Debug/MJH.Logger.dll and b/MJH.Logger/bin/Debug/MJH.Logger.dll differ
diff --git a/MJH.Logger/bin/Debug/MJH.Logger.dll.config b/MJH.Logger/bin/Debug/MJH.Logger.dll.config
index 302489a..2707029 100644
--- a/MJH.Logger/bin/Debug/MJH.Logger.dll.config
+++ b/MJH.Logger/bin/Debug/MJH.Logger.dll.config
@@ -11,16 +11,17 @@
-
+
+
+
+
-
-
-
+
\ No newline at end of file
diff --git a/MJH.Logger/bin/Debug/MJH.Logger.pdb b/MJH.Logger/bin/Debug/MJH.Logger.pdb
index f3d4100..f9f36e4 100644
Binary files a/MJH.Logger/bin/Debug/MJH.Logger.pdb and b/MJH.Logger/bin/Debug/MJH.Logger.pdb differ
diff --git a/MJH.Logger/bin/Debug/System.Data.SQLite.EF6.dll b/MJH.Logger/bin/Debug/System.Data.SQLite.EF6.dll
index 354678e..19af396 100644
Binary files a/MJH.Logger/bin/Debug/System.Data.SQLite.EF6.dll and b/MJH.Logger/bin/Debug/System.Data.SQLite.EF6.dll differ
diff --git a/MJH.Logger/bin/Debug/System.Data.SQLite.Linq.dll b/MJH.Logger/bin/Debug/System.Data.SQLite.Linq.dll
index 80b3d15..b779b81 100644
Binary files a/MJH.Logger/bin/Debug/System.Data.SQLite.Linq.dll and b/MJH.Logger/bin/Debug/System.Data.SQLite.Linq.dll differ
diff --git a/MJH.Logger/bin/Debug/System.Data.SQLite.dll b/MJH.Logger/bin/Debug/System.Data.SQLite.dll
index 2aebce5..741bf32 100644
Binary files a/MJH.Logger/bin/Debug/System.Data.SQLite.dll and b/MJH.Logger/bin/Debug/System.Data.SQLite.dll differ
diff --git a/MJH.Logger/bin/Debug/System.Data.SQLite.xml b/MJH.Logger/bin/Debug/System.Data.SQLite.xml
index cee55df..0f3dc85 100644
--- a/MJH.Logger/bin/Debug/System.Data.SQLite.xml
+++ b/MJH.Logger/bin/Debug/System.Data.SQLite.xml
@@ -67,284 +67,962 @@
This class implements SQLiteBase completely, and is the guts of the code that interop's SQLite with .NET
-
+
- The opaque pointer returned to us by the sqlite provider
+ This internal class provides the foundation of SQLite support. It defines all the abstract members needed to implement
+ a SQLite data provider, and inherits from SQLiteConvert which allows for simple translations of string to and from SQLite.
-
+
- The user-defined functions registered on this connection
+ This base class provides datatype conversion services for the SQLite provider.
-
+
- This is the name of the native library file that contains the
- "vtshim" extension [wrapper].
+ The fallback default database type when one cannot be obtained from an
+ existing connection instance.
-
+
- This is the flag indicate whether the native library file that
- contains the "vtshim" extension must be dynamically loaded by
- this class prior to use.
+ The format string for DateTime values when using the InvariantCulture or CurrentCulture formats.
-
+
- This is the name of the native entry point for the "vtshim"
- extension [wrapper].
+ The fallback default database type name when one cannot be obtained from
+ an existing connection instance.
-
+
- The modules created using this connection.
+ The value for the Unix epoch (e.g. January 1, 1970 at midnight, in UTC).
-
+
- Constructs the object used to interact with the SQLite core library
- using the UTF-8 text encoding.
+ The value of the OLE Automation epoch represented as a Julian day. This
+ field cannot be removed as the test suite relies upon it.
-
- The DateTime format to be used when converting string values to a
- DateTime and binding DateTime parameters.
-
-
- The to be used when creating DateTime
- values.
-
-
- The format string to be used when parsing and formatting DateTime
- values.
-
-
- The native handle to be associated with the database connection.
-
-
- The fully qualified file name associated with .
-
-
- Non-zero if the newly created object instance will need to dispose
- of when it is no longer needed.
-
-
+
- This method attempts to dispose of all the derived
- object instances currently associated with the native database connection.
+ This is the minimum Julian Day value supported by this library
+ (148731163200000).
-
+
- Returns the number of times the method has been
- called.
+ This is the maximum Julian Day value supported by this library
+ (464269060799000).
-
+
- This method determines whether or not a
- with a return code of should
- be thrown after making a call into the SQLite core library.
+ An array of ISO-8601 DateTime formats that we support parsing.
-
- Non-zero if a to be thrown. This method
- will only return non-zero if the method was called
- one or more times during a call into the SQLite core library (e.g. when
- the sqlite3_prepare*() or sqlite3_step() APIs are used).
-
-
+
- Resets the value of the field.
+ The internal default format for UTC DateTime values when converting
+ to a string.
-
+
- Attempts to interrupt the query currently executing on the associated
- native database connection.
+ The internal default format for local DateTime values when converting
+ to a string.
-
+
- This function binds a user-defined function to the connection.
+ An UTF-8 Encoding instance, so we can convert strings to and from UTF-8
-
- The object instance containing
- the metadata for the function to be bound.
-
-
- The object instance that implements the
- function to be bound.
-
-
- The flags associated with the parent connection object.
-
-
+
- This function binds a user-defined function to the connection.
+ The default DateTime format for this instance.
-
- The object instance containing
- the metadata for the function to be unbound.
-
-
- The flags associated with the parent connection object.
-
- Non-zero if the function was unbound and removed.
-
+
- Returns non-zero if the underlying native connection handle is owned
- by this instance.
+ The default DateTimeKind for this instance.
-
+
- Returns the logical list of functions associated with this connection.
+ The default DateTime format string for this instance.
-
+
- Attempts to free as much heap memory as possible for the database connection.
+ Initializes the conversion class
- A standard SQLite return code (i.e. zero for success and non-zero for failure).
+ The default date/time format to use for this instance
+ The DateTimeKind to use.
+ The DateTime format string to use.
-
+
- Attempts to free N bytes of heap memory by deallocating non-essential memory
- allocations held by the database library. Memory used to cache database pages
- to improve performance is an example of non-essential memory. This is a no-op
- returning zero if the SQLite core library was not compiled with the compile-time
- option SQLITE_ENABLE_MEMORY_MANAGEMENT. Optionally, attempts to reset and/or
- compact the Win32 native heap, if applicable.
+ Converts a string to a UTF-8 encoded byte array sized to include a null-terminating character.
-
- The requested number of bytes to free.
-
-
- Non-zero to attempt a heap reset.
-
-
- Non-zero to attempt heap compaction.
-
-
- The number of bytes actually freed. This value may be zero.
-
-
- This value will be non-zero if the heap reset was successful.
-
-
- The size of the largest committed free block in the heap, in bytes.
- This value will be zero unless heap compaction is enabled.
-
-
- A standard SQLite return code (i.e. zero for success and non-zero
- for failure).
-
+ The string to convert to UTF-8
+ A byte array containing the converted string plus an extra 0 terminating byte at the end of the array.
-
+
- Shutdown the SQLite engine so that it can be restarted with different
- configuration options. We depend on auto initialization to recover.
+ Convert a DateTime to a UTF-8 encoded, zero-terminated byte array.
- Returns a standard SQLite result code.
+
+ This function is a convenience function, which first calls ToString() on the DateTime, and then calls ToUTF8() with the
+ string result.
+
+ The DateTime to convert.
+ The UTF-8 encoded string, including a 0 terminating byte at the end of the array.
-
+
- Shutdown the SQLite engine so that it can be restarted with different
- configuration options. We depend on auto initialization to recover.
+ Converts a UTF-8 encoded IntPtr of the specified length into a .NET string
-
- Non-zero to reset the database and temporary directories to their
- default values, which should be null for both. This parameter has no
- effect on non-Windows operating systems.
-
- Returns a standard SQLite result code.
+ The pointer to the memory where the UTF-8 string is encoded
+ The number of bytes to decode
+ A string containing the translated character(s)
-
+
- Determines if the associated native connection handle is open.
+ Converts a UTF-8 encoded IntPtr of the specified length into a .NET string
-
- Non-zero if the associated native connection handle is open.
-
+ The pointer to the memory where the UTF-8 string is encoded
+ The number of bytes to decode
+ A string containing the translated character(s)
-
+
- Returns the fully qualified path and file name for the currently open
- database, if any.
+ Checks if the specified is within the
+ supported range for a Julian Day value.
-
- The name of the attached database to query.
+
+ The Julian Day value to check.
- The fully qualified path and file name for the currently open database,
- if any.
+ Non-zero if the specified Julian Day value is in the supported
+ range; otherwise, zero.
-
+
- Has the sqlite3_errstr() core library API been checked for yet?
- If so, is it present?
+ Converts a Julian Day value from a to an
+ .
+
+ The Julian Day value to convert.
+
+
+ The resulting Julian Day value.
+
-
+
- Returns the error message for the specified SQLite return code using
- the sqlite3_errstr() function, falling back to the internal lookup
- table if necessary.
+ Converts a Julian Day value from an to a
+ .
- The SQLite return code.
- The error message or null if it cannot be found.
+
+ The Julian Day value to convert.
+
+
+ The resulting Julian Day value.
+
-
+
- Has the sqlite3_stmt_readonly() core library API been checked for yet?
- If so, is it present?
+ Converts a Julian Day value to a .
+ This method was translated from the "computeYMD" function in the
+ "date.c" file belonging to the SQLite core library.
+
+ The Julian Day value to convert.
+
+
+ The value to return in the event that the
+ Julian Day is out of the supported range. If this value is null,
+ an exception will be thrown instead.
+
+
+ A value that contains the year, month, and
+ day values that are closest to the specified Julian Day value.
+
-
+
- Returns non-zero if the specified statement is read-only in nature.
+ Converts a Julian Day value to a .
+ This method was translated from the "computeHMS" function in the
+ "date.c" file belonging to the SQLite core library.
- The statement to check.
- True if the outer query is read-only.
-
-
+
+ The Julian Day value to convert.
+
+
+ The value to return in the event that the
+ Julian Day value is out of the supported range. If this value is
+ null, an exception will be thrown instead.
+
+
+ A value that contains the hour, minute, and
+ second, and millisecond values that are closest to the specified
+ Julian Day value.
+
+
+
+
+ Converts a to a Julian Day value.
+ This method was translated from the "computeJD" function in
+ the "date.c" file belonging to the SQLite core library.
+ Since the range of Julian Day values supported by this method
+ includes all possible (valid) values of a
+ value, it should be extremely difficult for this method to
+ raise an exception or return an undefined result.
+
+
+ The value to convert. This value
+ will be within the range of
+ (00:00:00.0000000, January 1, 0001) to
+ (23:59:59.9999999, December
+ 31, 9999).
+
+
+ The nearest Julian Day value corresponding to the specified
+ value.
+
+
+
+
+ Converts a string into a DateTime, using the DateTimeFormat, DateTimeKind,
+ and DateTimeFormatString specified for the connection when it was opened.
+
+
+ Acceptable ISO8601 DateTime formats are:
+
+ - THHmmssK
+ - THHmmK
+ - HH:mm:ss.FFFFFFFK
+ - HH:mm:ssK
+ - HH:mmK
+ - yyyy-MM-dd HH:mm:ss.FFFFFFFK
+ - yyyy-MM-dd HH:mm:ssK
+ - yyyy-MM-dd HH:mmK
+ - yyyy-MM-ddTHH:mm:ss.FFFFFFFK
+ - yyyy-MM-ddTHH:mmK
+ - yyyy-MM-ddTHH:mm:ssK
+ - yyyyMMddHHmmssK
+ - yyyyMMddHHmmK
+ - yyyyMMddTHHmmssFFFFFFFK
+ - THHmmss
+ - THHmm
+ - HH:mm:ss.FFFFFFF
+ - HH:mm:ss
+ - HH:mm
+ - yyyy-MM-dd HH:mm:ss.FFFFFFF
+ - yyyy-MM-dd HH:mm:ss
+ - yyyy-MM-dd HH:mm
+ - yyyy-MM-ddTHH:mm:ss.FFFFFFF
+ - yyyy-MM-ddTHH:mm
+ - yyyy-MM-ddTHH:mm:ss
+ - yyyyMMddHHmmss
+ - yyyyMMddHHmm
+ - yyyyMMddTHHmmssFFFFFFF
+ - yyyy-MM-dd
+ - yyyyMMdd
+ - yy-MM-dd
+
+ If the string cannot be matched to one of the above formats -OR-
+ the DateTimeFormatString if one was provided, an exception will
+ be thrown.
+
+ The string containing either a long integer number of 100-nanosecond units since
+ System.DateTime.MinValue, a Julian day double, an integer number of seconds since the Unix epoch, a
+ culture-independent formatted date and time string, a formatted date and time string in the current
+ culture, or an ISO8601-format string.
+ A DateTime value
+
+
+
+ Converts a string into a DateTime, using the specified DateTimeFormat,
+ DateTimeKind and DateTimeFormatString.
+
+
+ Acceptable ISO8601 DateTime formats are:
+
+ - THHmmssK
+ - THHmmK
+ - HH:mm:ss.FFFFFFFK
+ - HH:mm:ssK
+ - HH:mmK
+ - yyyy-MM-dd HH:mm:ss.FFFFFFFK
+ - yyyy-MM-dd HH:mm:ssK
+ - yyyy-MM-dd HH:mmK
+ - yyyy-MM-ddTHH:mm:ss.FFFFFFFK
+ - yyyy-MM-ddTHH:mmK
+ - yyyy-MM-ddTHH:mm:ssK
+ - yyyyMMddHHmmssK
+ - yyyyMMddHHmmK
+ - yyyyMMddTHHmmssFFFFFFFK
+ - THHmmss
+ - THHmm
+ - HH:mm:ss.FFFFFFF
+ - HH:mm:ss
+ - HH:mm
+ - yyyy-MM-dd HH:mm:ss.FFFFFFF
+ - yyyy-MM-dd HH:mm:ss
+ - yyyy-MM-dd HH:mm
+ - yyyy-MM-ddTHH:mm:ss.FFFFFFF
+ - yyyy-MM-ddTHH:mm
+ - yyyy-MM-ddTHH:mm:ss
+ - yyyyMMddHHmmss
+ - yyyyMMddHHmm
+ - yyyyMMddTHHmmssFFFFFFF
+ - yyyy-MM-dd
+ - yyyyMMdd
+ - yy-MM-dd
+
+ If the string cannot be matched to one of the above formats -OR-
+ the DateTimeFormatString if one was provided, an exception will
+ be thrown.
+
+ The string containing either a long integer number of 100-nanosecond units since
+ System.DateTime.MinValue, a Julian day double, an integer number of seconds since the Unix epoch, a
+ culture-independent formatted date and time string, a formatted date and time string in the current
+ culture, or an ISO8601-format string.
+ The SQLiteDateFormats to use.
+ The DateTimeKind to use.
+ The DateTime format string to use.
+ A DateTime value
+
+
+
+ Converts a julianday value into a DateTime
+
+ The value to convert
+ A .NET DateTime
+
+
+
+ Converts a julianday value into a DateTime
+
+ The value to convert
+ The DateTimeKind to use.
+ A .NET DateTime
+
+
+
+ Converts the specified number of seconds from the Unix epoch into a
+ value.
+
+
+ The number of whole seconds since the Unix epoch.
+
+
+ Either Utc or Local time.
+
+
+ The new value.
+
+
+
+
+ Converts the specified number of ticks since the epoch into a
+ value.
+
+
+ The number of whole ticks since the epoch.
+
+
+ Either Utc or Local time.
+
+
+ The new value.
+
+
+
+
+ Converts a DateTime struct to a JulianDay double
+
+ The DateTime to convert
+ The JulianDay value the Datetime represents
+
+
+
+ Converts a DateTime struct to the whole number of seconds since the
+ Unix epoch.
+
+ The DateTime to convert
+ The whole number of seconds since the Unix epoch
+
+
+
+ Returns the DateTime format string to use for the specified DateTimeKind.
+ If is not null, it will be returned verbatim.
+
+ The DateTimeKind to use.
+ The DateTime format string to use.
+
+ The DateTime format string to use for the specified DateTimeKind.
+
+
+
+
+ Converts a string into a DateTime, using the DateTimeFormat, DateTimeKind,
+ and DateTimeFormatString specified for the connection when it was opened.
+
+ The DateTime value to convert
+ Either a string containing the long integer number of 100-nanosecond units since System.DateTime.MinValue, a
+ Julian day double, an integer number of seconds since the Unix epoch, a culture-independent formatted date and time
+ string, a formatted date and time string in the current culture, or an ISO8601-format date/time string.
+
+
+
+ Converts a string into a DateTime, using the DateTimeFormat, DateTimeKind,
+ and DateTimeFormatString specified for the connection when it was opened.
+
+ The DateTime value to convert
+ The SQLiteDateFormats to use.
+ The DateTimeKind to use.
+ The DateTime format string to use.
+ Either a string containing the long integer number of 100-nanosecond units since System.DateTime.MinValue, a
+ Julian day double, an integer number of seconds since the Unix epoch, a culture-independent formatted date and time
+ string, a formatted date and time string in the current culture, or an ISO8601-format date/time string.
+
+
+
+ Internal function to convert a UTF-8 encoded IntPtr of the specified length to a DateTime.
+
+
+ This is a convenience function, which first calls ToString() on the IntPtr to convert it to a string, then calls
+ ToDateTime() on the string to return a DateTime.
+
+ A pointer to the UTF-8 encoded string
+ The length in bytes of the string
+ The parsed DateTime value
+
+
+
+ Smart method of splitting a string. Skips quoted elements, removes the quotes.
+
+
+ This split function works somewhat like the String.Split() function in that it breaks apart a string into
+ pieces and returns the pieces as an array. The primary differences are:
+
+ - Only one character can be provided as a separator character
+ - Quoted text inside the string is skipped over when searching for the separator, and the quotes are removed.
+
+ Thus, if splitting the following string looking for a comma:
+ One,Two, "Three, Four", Five
+
+ The resulting array would contain
+ [0] One
+ [1] Two
+ [2] Three, Four
+ [3] Five
+
+ Note that the leading and trailing spaces were removed from each item during the split.
+
+ Source string to split apart
+ Separator character
+ A string array of the split up elements
+
+
+
+ Splits the specified string into multiple strings based on a separator
+ and returns the result as an array of strings.
+
+
+ The string to split into pieces based on the separator character. If
+ this string is null, null will always be returned. If this string is
+ empty, an array of zero strings will always be returned.
+
+
+ The character used to divide the original string into sub-strings.
+ This character cannot be a backslash or a double-quote; otherwise, no
+ work will be performed and null will be returned.
+
+
+ If this parameter is non-zero, all double-quote characters will be
+ retained in the returned list of strings; otherwise, they will be
+ dropped.
+
+
+ Upon failure, this parameter will be modified to contain an appropriate
+ error message.
+
+
+ The new array of strings or null if the input string is null -OR- the
+ separator character is a backslash or a double-quote -OR- the string
+ contains an unbalanced backslash or double-quote character.
+
+
+
+
+ Queries and returns the string representation for an object, using the
+ specified (or current) format provider.
+
+
+ The object instance to return the string representation for.
+
+
+ The format provider to use -OR- null if the current format provider for
+ the thread should be used instead.
+
+
+ The string representation for the object instance -OR- null if the
+ object instance is also null.
+
+
+
+
+ Attempts to convert an arbitrary object to the Boolean data type.
+ Null object values are converted to false. Throws an exception
+ upon failure.
+
+
+ The object value to convert.
+
+
+ The format provider to use.
+
+
+ If non-zero, a string value will be converted using the
+
+ method; otherwise, the
+ method will be used.
+
+
+ The converted boolean value.
+
+
+
+
+ Convert a value to true or false.
+
+ A string or number representing true or false
+
+
+
+
+ Attempts to convert a into a .
+
+
+ The to convert, cannot be null.
+
+
+ The converted value.
+
+
+ The supported strings are "yes", "no", "y", "n", "on", "off", "0", "1",
+ as well as any prefix of the strings
+ and . All strings are treated in a
+ case-insensitive manner.
+
+
+
+
+ Converts a SQLiteType to a .NET Type object
+
+ The SQLiteType to convert
+ Returns a .NET Type object
+
+
+
+ For a given intrinsic type, return a DbType
+
+ The native type to convert
+ The corresponding (closest match) DbType
+
+
+
+ Returns the ColumnSize for the given DbType
+
+ The DbType to get the size of
+
+
+
+
+ Determines the default database type name to be used when a
+ per-connection value is not available.
+
+
+ The connection context for type mappings, if any.
+
+
+ The default database type name to use.
+
+
+
+
+ If applicable, issues a trace log message warning about falling back to
+ the default database type name.
+
+
+ The database value type.
+
+
+ The flags associated with the parent connection object.
+
+
+ The textual name of the database type.
+
+
+
+
+ If applicable, issues a trace log message warning about falling back to
+ the default database value type.
+
+
+ The textual name of the database type.
+
+
+ The flags associated with the parent connection object.
+
+
+ The database value type.
+
+
+
+
+ For a given database value type, return the "closest-match" textual database type name.
+
+ The connection context for custom type mappings, if any.
+ The database value type.
+ The flags associated with the parent connection object.
+ The type name or an empty string if it cannot be determined.
+
+
+
+ Convert a DbType to a Type
+
+ The DbType to convert from
+ The closest-match .NET type
+
+
+
+ For a given type, return the closest-match SQLite TypeAffinity, which only understands a very limited subset of types.
+
+ The type to evaluate
+ The SQLite type affinity for that type.
+
+
+
+ Builds and returns a map containing the database column types
+ recognized by this provider.
+
+
+ A map containing the database column types recognized by this
+ provider.
+
+
+
+
+ Determines if a database type is considered to be a string.
+
+
+ The database type to check.
+
+
+ Non-zero if the database type is considered to be a string, zero
+ otherwise.
+
+
+
+
+ Determines and returns the runtime configuration setting string that
+ should be used in place of the specified object value.
+
+
+ The object value to convert to a string.
+
+
+ Either the string to use in place of the object value -OR- null if it
+ cannot be determined.
+
+
+
+
+ Determines the default value to be used when a
+ per-connection value is not available.
+
+
+ The connection context for type mappings, if any.
+
+
+ The default value to use.
+
+
+
+
+ Converts the object value, which is assumed to have originated
+ from a , to a string value.
+
+
+ The value to be converted to a string.
+
+
+ A null value will be returned if the original value is null -OR-
+ the original value is . Otherwise,
+ the original value will be converted to a string, using its
+ (possibly overridden) method and
+ then returned.
+
+
+
+
+ Determines if the specified textual value appears to be a
+ value.
+
+
+ The textual value to inspect.
+
+
+ Non-zero if the text looks like a value,
+ zero otherwise.
+
+
+
+
+ Determines if the specified textual value appears to be an
+ value.
+
+
+ The textual value to inspect.
+
+
+ Non-zero if the text looks like an value,
+ zero otherwise.
+
+
+
+
+ Determines if the specified textual value appears to be a
+ value.
+
+
+ The textual value to inspect.
+
+
+ Non-zero if the text looks like a value,
+ zero otherwise.
+
+
+
+
+ Determines if the specified textual value appears to be a
+ value.
+
+
+ The object instance configured with
+ the chosen format.
+
+
+ The textual value to inspect.
+
+
+ Non-zero if the text looks like a in the
+ configured format, zero otherwise.
+
+
+
+
+ For a given textual database type name, return the "closest-match" database type.
+ This method is called during query result processing; therefore, its performance
+ is critical.
+
+ The connection context for custom type mappings, if any.
+ The textual name of the database type to match.
+ The flags associated with the parent connection object.
+ The .NET DBType the text evaluates to.
+
+
+
+ The error code used for logging exceptions caught in user-provided
+ code.
+
+
+
+
+ Returns non-zero if this connection to the database is read-only.
+
+
+
+
+ Sets the status of the memory usage tracking subsystem in the SQLite core library. By default, this is enabled.
+ If this is disabled, memory usage tracking will not be performed. This is not really a per-connection value, it is
+ global to the process.
+
+ Non-zero to enable memory usage tracking, zero otherwise.
+ A standard SQLite return code (i.e. zero for success and non-zero for failure).
+
+
+
+ Attempts to free as much heap memory as possible for the database connection.
+
+ A standard SQLite return code (i.e. zero for success and non-zero for failure).
+
+
+
+ Shutdown the SQLite engine so that it can be restarted with different config options.
+ We depend on auto initialization to recover.
+
+
+
+
+ Determines if the associated native connection handle is open.
+
+
+ Non-zero if a database connection is open.
+
+
+
+
+ Returns the fully qualified path and file name for the currently open
+ database, if any.
+
+
+ The name of the attached database to query.
+
+
+ The fully qualified path and file name for the currently open database,
+ if any.
+
+
+
+
+ Opens a database.
+
+
+ Implementers should call SQLiteFunction.BindFunctions() and save the array after opening a connection
+ to bind all attributed user-defined functions and collating sequences to the new connection.
+
+ The filename of the database to open. SQLite automatically creates it if it doesn't exist.
+ The name of the VFS to use -OR- null to use the default VFS.
+ The flags associated with the parent connection object
+ The open flags to use when creating the connection
+ The maximum size of the pool for the given filename
+ If true, the connection can be pulled from the connection pool
+
+
+
+ Closes the currently-open database.
+
+
+ After the database has been closed implemeters should call SQLiteFunction.UnbindFunctions() to deallocate all interop allocated
+ memory associated with the user-defined functions and collating sequences tied to the closed connection.
+
+ Non-zero if the operation is allowed to throw exceptions, zero otherwise.
+
+
+
+ Sets the busy timeout on the connection. SQLiteCommand will call this before executing any command.
+
+ The number of milliseconds to wait before returning SQLITE_BUSY
+
+
+
+ Returns the text of the last error issued by SQLite
+
+
+
+
+
+ Returns the text of the last error issued by SQLite -OR- the specified default error text if
+ none is available from the SQLite core library.
+
+
+ The error text to return in the event that one is not available from the SQLite core library.
+
+
+ The error text.
+
+
+
+
+ When pooling is enabled, force this connection to be disposed rather than returned to the pool
+
+
+
+
+ When pooling is enabled, returns the number of pool entries matching the current file name.
+
+ The number of pool entries matching the current file name.
+
+
+
+ Prepares a SQL statement for execution.
+
+ The source connection preparing the command. Can be null for any caller except LINQ
+ The SQL command text to prepare
+ The previous statement in a multi-statement command, or null if no previous statement exists
+ The timeout to wait before aborting the prepare
+ The remainder of the statement that was not processed. Each call to prepare parses the
+ SQL up to to either the end of the text or to the first semi-colon delimiter. The remaining text is returned
+ here for a subsequent call to Prepare() until all the text has been processed.
+ Returns an initialized SQLiteStatement.
+
+
+
+ Steps through a prepared statement.
+
+ The SQLiteStatement to step through
+ True if a row was returned, False if not.
+
+
+
+ Returns non-zero if the specified statement is read-only in nature.
+
+ The statement to check.
+ True if the outer query is read-only.
+
+
+
+ Resets a prepared statement so it can be executed again. If the error returned is SQLITE_SCHEMA,
+ transparently attempt to rebuild the SQL statement and throw an error if that was not possible.
+
+ The statement to reset
+ Returns -1 if the schema changed while resetting, 0 if the reset was sucessful or 6 (SQLITE_LOCKED) if the reset failed due to a lock
+
+
- This field is used to keep track of whether or not the
- "SQLite_ForceLogPrepare" environment variable has been queried. If so,
- it will only be non-zero if the environment variable was present.
+ Attempts to interrupt the query currently executing on the associated
+ native database connection.
-
+
- Determines if all calls to prepare a SQL query will be logged,
- regardless of the flags for the associated connection.
+ This function binds a user-defined function to the connection.
-
- Non-zero to log all calls to prepare a SQL query.
-
+
+ The object instance containing
+ the metadata for the function to be bound.
+
+
+ The object instance that implements the
+ function to be bound.
+
+
+ The flags associated with the parent connection object.
+
-
+
- Determines the file name of the native library containing the native
- "vtshim" extension -AND- whether it should be dynamically loaded by
- this class.
+ This function unbinds a user-defined function from the connection.
-
- This output parameter will be set to non-zero if the returned native
- library file name should be dynamically loaded prior to attempting
- the creation of native disposable extension modules.
+
+ The object instance containing
+ the metadata for the function to be unbound.
-
- The file name of the native library containing the native "vtshim"
- extension -OR- null if it cannot be determined.
-
+
+ The flags associated with the parent connection object.
+
+ Non-zero if the function was unbound.
-
+
Calls the native SQLite core library in order to create a disposable
module containing the implementation of a virtual table.
@@ -353,27 +1031,27 @@
The module object to be used when creating the native disposable module.
- The flags for the associated object instance.
+ The flags for the associated object instance.
-
+
Calls the native SQLite core library in order to cleanup the resources
associated with a module containing the implementation of a virtual table.
- The module object previously passed to the
+ The module object previously passed to the
method.
- The flags for the associated object instance.
+ The flags for the associated object instance.
-
+
Calls the native SQLite core library in order to declare a virtual table
- in response to a call into the
- or virtual table methods.
+ in response to a call into the
+ or virtual table methods.
The virtual table module that is to be responsible for the virtual table
@@ -391,11 +1069,11 @@
A standard SQLite return code.
-
+
Calls the native SQLite core library in order to declare a virtual table
- function in response to a call into the
- or virtual table methods.
+ function in response to a call into the
+ or virtual table methods.
The virtual table module that is to be responsible for the virtual table
@@ -415,7 +1093,7 @@
A standard SQLite return code.
-
+
Enables or disables a configuration option for the database.
connection.
@@ -430,7 +1108,7 @@
A standard SQLite return code.
-
+
Enables or disables extension loading by SQLite.
@@ -438,7 +1116,7 @@
True to enable loading of extensions, false to disable.
-
+
Loads a SQLite extension library from the named file.
@@ -450,31 +1128,47 @@
If null, the default "sqlite3_extension_init" will be used.
-
- Enables or disabled extended result codes returned by SQLite
-
-
- Gets the last SQLite error code
+
+
+ Enables or disabled extened result codes returned by SQLite
+
+ true to enable extended result codes, false to disable.
+
-
- Gets the last SQLite extended error code
+
+
+ Returns the numeric result code for the most recent failed SQLite API call
+ associated with the database connection.
+
+ Result code
-
- Add a log message via the SQLite sqlite3_log interface.
+
+
+ Returns the extended numeric result code for the most recent failed SQLite API call
+ associated with the database connection.
+
+ Extended result code
-
+
+
Add a log message via the SQLite sqlite3_log interface.
+
+ Error code to be logged with the message.
+ String to be logged. Unlike the SQLite sqlite3_log()
+ interface, this should be pre-formatted. Consider using the
+ String.Format() function.
+
-
+
- Allows the setting of a logging callback invoked by SQLite when a
- log event occurs. Only one callback may be set. If NULL is passed,
- the logging callback is unregistered.
+ Checks if the SQLite core library has been initialized in the current process.
- The callback function to invoke.
- Returns a result code
+
+ Non-zero if the SQLite core library has been initialized in the current process,
+ zero otherwise.
+
-
+
Creates a new SQLite backup object based on the provided destination
database connection. The source database connection is the one
@@ -486,188 +1180,54 @@
The source database name.
The newly created backup object.
-
+
Copies up to N pages from the source database to the destination
database associated with the specified backup object.
The backup object to use.
- The number of pages to copy, negative to copy all remaining pages.
+ The number of pages to copy or negative to copy all remaining pages.
Set to true if the operation needs to be retried due to database
- locking issues; otherwise, set to false.
+ locking issues.
True if there are more pages to be copied, false otherwise.
-
+
Returns the number of pages remaining to be copied from the source
- database to the destination database associated with the specified
- backup object.
-
- The backup object to check.
- The number of pages remaining to be copied.
-
-
-
- Returns the total number of pages in the source database associated
- with the specified backup object.
-
- The backup object to check.
- The total number of pages in the source database.
-
-
-
- Destroys the backup object, rolling back any backup that may be in
- progess.
-
- The backup object to destroy.
-
-
-
- Determines if the SQLite core library has been initialized for the
- current process.
-
-
- A boolean indicating whether or not the SQLite core library has been
- initialized for the current process.
-
-
-
-
- Determines if the SQLite core library has been initialized for the
- current process.
-
-
- A boolean indicating whether or not the SQLite core library has been
- initialized for the current process.
-
-
-
-
- Helper function to retrieve a column of data from an active statement.
-
- The statement being step()'d through
- The flags associated with the connection.
- The column index to retrieve
- The type of data contained in the column. If Uninitialized, this function will retrieve the datatype information.
- Returns the data in the column
-
-
-
- Alternate SQLite3 object, overriding many text behaviors to support UTF-16 (Unicode)
-
-
-
-
- Constructs the object used to interact with the SQLite core library
- using the UTF-8 text encoding.
-
-
- The DateTime format to be used when converting string values to a
- DateTime and binding DateTime parameters.
-
-
- The to be used when creating DateTime
- values.
-
-
- The format string to be used when parsing and formatting DateTime
- values.
-
-
- The native handle to be associated with the database connection.
-
-
- The fully qualified file name associated with .
-
-
- Non-zero if the newly created object instance will need to dispose
- of when it is no longer needed.
-
-
-
-
- Overrides SQLiteConvert.ToString() to marshal UTF-16 strings instead of UTF-8
-
- A pointer to a UTF-16 string
- The length (IN BYTES) of the string
- A .NET string
-
-
-
- Represents a single SQL backup in SQLite.
-
-
-
-
- The underlying SQLite object this backup is bound to.
-
-
-
-
- The actual backup handle.
-
-
-
-
- The destination database for the backup.
-
-
-
-
- The destination database name for the backup.
-
-
-
-
- The source database for the backup.
-
-
-
-
- The source database name for the backup.
-
-
-
-
- The last result from the StepBackup method of the SQLite3 class.
- This is used to determine if the call to the FinishBackup method of
- the SQLite3 class should throw an exception when it receives a non-Ok
- return code from the core SQLite library.
-
-
-
-
- Initializes the backup.
+ database to the destination database associated with the specified
+ backup object.
- The base SQLite object.
- The backup handle.
- The destination database for the backup.
- The destination database name for the backup.
- The source database for the backup.
- The source database name for the backup.
+ The backup object to check.
+ The number of pages remaining to be copied.
-
+
- Disposes and finalizes the backup.
+ Returns the total number of pages in the source database associated
+ with the specified backup object.
+ The backup object to check.
+ The total number of pages in the source database.
-
+
- This internal class provides the foundation of SQLite support. It defines all the abstract members needed to implement
- a SQLite data provider, and inherits from SQLiteConvert which allows for simple translations of string to and from SQLite.
+ Destroys the backup object, rolling back any backup that may be in
+ progess.
+ The backup object to destroy.
-
+
- The error code used for logging exceptions caught in user-provided
- code.
+ Returns the error message for the specified SQLite return code using
+ the internal static lookup table.
+ The SQLite return code.
+ The error message or null if it cannot be found.
@@ -679,11 +1239,6 @@
Returns an integer representing the active version of SQLite
-
-
- Returns non-zero if this connection to the database is read-only.
-
-
Returns the rowid of the most recent successful INSERT into the database from this connection.
@@ -716,179 +1271,280 @@
Returns the logical list of functions associated with this connection.
-
+
- Sets the status of the memory usage tracking subsystem in the SQLite core library. By default, this is enabled.
- If this is disabled, memory usage tracking will not be performed. This is not really a per-connection value, it is
- global to the process.
+ Returns non-zero if the given database connection is in autocommit mode.
+ Autocommit mode is on by default. Autocommit mode is disabled by a BEGIN
+ statement. Autocommit mode is re-enabled by a COMMIT or ROLLBACK.
- Non-zero to enable memory usage tracking, zero otherwise.
- A standard SQLite return code (i.e. zero for success and non-zero for failure).
-
+
- Attempts to free as much heap memory as possible for the database connection.
+ The opaque pointer returned to us by the sqlite provider
- A standard SQLite return code (i.e. zero for success and non-zero for failure).
-
+
- Shutdown the SQLite engine so that it can be restarted with different config options.
- We depend on auto initialization to recover.
+ The user-defined functions registered on this connection
-
+
- Determines if the associated native connection handle is open.
+ This is the name of the native library file that contains the
+ "vtshim" extension [wrapper].
-
- Non-zero if a database connection is open.
-
-
+
- Returns the fully qualified path and file name for the currently open
- database, if any.
+ This is the flag indicate whether the native library file that
+ contains the "vtshim" extension must be dynamically loaded by
+ this class prior to use.
-
- The name of the attached database to query.
+
+
+
+ This is the name of the native entry point for the "vtshim"
+ extension [wrapper].
+
+
+
+
+ The modules created using this connection.
+
+
+
+
+ Constructs the object used to interact with the SQLite core library
+ using the UTF-8 text encoding.
+
+
+ The DateTime format to be used when converting string values to a
+ DateTime and binding DateTime parameters.
+
+
+ The to be used when creating DateTime
+ values.
+
+
+ The format string to be used when parsing and formatting DateTime
+ values.
+
+
+ The native handle to be associated with the database connection.
+
+ The fully qualified file name associated with .
+
+
+ Non-zero if the newly created object instance will need to dispose
+ of when it is no longer needed.
+
+
+
+
+ This method attempts to dispose of all the derived
+ object instances currently associated with the native database connection.
+
+
+
+
+ Returns the number of times the method has been
+ called.
+
+
+
+
+ This method determines whether or not a
+ with a return code of should
+ be thrown after making a call into the SQLite core library.
+
- The fully qualified path and file name for the currently open database,
- if any.
+ Non-zero if a to be thrown. This method
+ will only return non-zero if the method was called
+ one or more times during a call into the SQLite core library (e.g. when
+ the sqlite3_prepare*() or sqlite3_step() APIs are used).
-
+
- Opens a database.
+ Resets the value of the field.
-
- Implementers should call SQLiteFunction.BindFunctions() and save the array after opening a connection
- to bind all attributed user-defined functions and collating sequences to the new connection.
-
- The filename of the database to open. SQLite automatically creates it if it doesn't exist.
- The name of the VFS to use -OR- null to use the default VFS.
- The flags associated with the parent connection object
- The open flags to use when creating the connection
- The maximum size of the pool for the given filename
- If true, the connection can be pulled from the connection pool
-
+
- Closes the currently-open database.
+ Attempts to interrupt the query currently executing on the associated
+ native database connection.
-
- After the database has been closed implemeters should call SQLiteFunction.UnbindFunctions() to deallocate all interop allocated
- memory associated with the user-defined functions and collating sequences tied to the closed connection.
-
- Non-zero if the operation is allowed to throw exceptions, zero otherwise.
-
+
- Sets the busy timeout on the connection. SQLiteCommand will call this before executing any command.
+ This function binds a user-defined function to the connection.
- The number of milliseconds to wait before returning SQLITE_BUSY
+
+ The object instance containing
+ the metadata for the function to be bound.
+
+
+ The object instance that implements the
+ function to be bound.
+
+
+ The flags associated with the parent connection object.
+
-
+
- Returns the text of the last error issued by SQLite
+ This function binds a user-defined function to the connection.
-
+
+ The object instance containing
+ the metadata for the function to be unbound.
+
+
+ The flags associated with the parent connection object.
+
+ Non-zero if the function was unbound and removed.
-
+
- Returns the text of the last error issued by SQLite -OR- the specified default error text if
- none is available from the SQLite core library.
+ Attempts to free as much heap memory as possible for the database connection.
-
- The error text to return in the event that one is not available from the SQLite core library.
+ A standard SQLite return code (i.e. zero for success and non-zero for failure).
+
+
+
+ Attempts to free N bytes of heap memory by deallocating non-essential memory
+ allocations held by the database library. Memory used to cache database pages
+ to improve performance is an example of non-essential memory. This is a no-op
+ returning zero if the SQLite core library was not compiled with the compile-time
+ option SQLITE_ENABLE_MEMORY_MANAGEMENT. Optionally, attempts to reset and/or
+ compact the Win32 native heap, if applicable.
+
+
+ The requested number of bytes to free.
+
+
+ Non-zero to attempt a heap reset.
+
+
+ Non-zero to attempt heap compaction.
+
+
+ The number of bytes actually freed. This value may be zero.
+
+
+ This value will be non-zero if the heap reset was successful.
+
+
+ The size of the largest committed free block in the heap, in bytes.
+ This value will be zero unless heap compaction is enabled.
- The error text.
+ A standard SQLite return code (i.e. zero for success and non-zero
+ for failure).
-
+
- When pooling is enabled, force this connection to be disposed rather than returned to the pool
+ Shutdown the SQLite engine so that it can be restarted with different
+ configuration options. We depend on auto initialization to recover.
+
+ Returns a standard SQLite result code.
+
+
+
+ Shutdown the SQLite engine so that it can be restarted with different
+ configuration options. We depend on auto initialization to recover.
+
+
+ Non-zero to reset the database and temporary directories to their
+ default values, which should be null for both. This parameter has no
+ effect on non-Windows operating systems.
+
+ Returns a standard SQLite result code.
+
+
+
+ Determines if the associated native connection handle is open.
+
+
+ Non-zero if the associated native connection handle is open.
+
+
+
+
+ Returns the fully qualified path and file name for the currently open
+ database, if any.
+
+ The name of the attached database to query.
+
+
+ The fully qualified path and file name for the currently open database,
+ if any.
+
-
+
- When pooling is enabled, returns the number of pool entries matching the current file name.
+ Has the sqlite3_errstr() core library API been checked for yet?
+ If so, is it present?
- The number of pool entries matching the current file name.
-
+
- Prepares a SQL statement for execution.
+ Returns the error message for the specified SQLite return code using
+ the sqlite3_errstr() function, falling back to the internal lookup
+ table if necessary.
- The source connection preparing the command. Can be null for any caller except LINQ
- The SQL command text to prepare
- The previous statement in a multi-statement command, or null if no previous statement exists
- The timeout to wait before aborting the prepare
- The remainder of the statement that was not processed. Each call to prepare parses the
- SQL up to to either the end of the text or to the first semi-colon delimiter. The remaining text is returned
- here for a subsequent call to Prepare() until all the text has been processed.
- Returns an initialized SQLiteStatement.
+ The SQLite return code.
+ The error message or null if it cannot be found.
-
+
- Steps through a prepared statement.
+ Has the sqlite3_stmt_readonly() core library API been checked for yet?
+ If so, is it present?
- The SQLiteStatement to step through
- True if a row was returned, False if not.
-
+
Returns non-zero if the specified statement is read-only in nature.
The statement to check.
True if the outer query is read-only.
-
-
- Resets a prepared statement so it can be executed again. If the error returned is SQLITE_SCHEMA,
- transparently attempt to rebuild the SQL statement and throw an error if that was not possible.
-
- The statement to reset
- Returns -1 if the schema changed while resetting, 0 if the reset was sucessful or 6 (SQLITE_LOCKED) if the reset failed due to a lock
-
-
+
- Attempts to interrupt the query currently executing on the associated
- native database connection.
+ This field is used to keep track of whether or not the
+ "SQLite_ForceLogPrepare" environment variable has been queried. If so,
+ it will only be non-zero if the environment variable was present.
-
+
- This function binds a user-defined function to the connection.
+ Determines if all calls to prepare a SQL query will be logged,
+ regardless of the flags for the associated connection.
-
- The object instance containing
- the metadata for the function to be bound.
-
-
- The object instance that implements the
- function to be bound.
-
-
- The flags associated with the parent connection object.
-
+
+ Non-zero to log all calls to prepare a SQL query.
+
-
+
- This function unbinds a user-defined function from the connection.
+ Determines the file name of the native library containing the native
+ "vtshim" extension -AND- whether it should be dynamically loaded by
+ this class.
-
- The object instance containing
- the metadata for the function to be unbound.
-
-
- The flags associated with the parent connection object.
+
+ This output parameter will be set to non-zero if the returned native
+ library file name should be dynamically loaded prior to attempting
+ the creation of native disposable extension modules.
- Non-zero if the function was unbound.
+
+ The file name of the native library containing the native "vtshim"
+ extension -OR- null if it cannot be determined.
+
-
+
Calls the native SQLite core library in order to create a disposable
module containing the implementation of a virtual table.
@@ -897,27 +1553,27 @@
The module object to be used when creating the native disposable module.
- The flags for the associated object instance.
+ The flags for the associated object instance.
-
+
Calls the native SQLite core library in order to cleanup the resources
associated with a module containing the implementation of a virtual table.
- The module object previously passed to the
+ The module object previously passed to the
method.
- The flags for the associated object instance.
+ The flags for the associated object instance.
-
+
Calls the native SQLite core library in order to declare a virtual table
- in response to a call into the
- or virtual table methods.
+ in response to a call into the
+ or virtual table methods.
The virtual table module that is to be responsible for the virtual table
@@ -935,11 +1591,11 @@
A standard SQLite return code.
-
+
Calls the native SQLite core library in order to declare a virtual table
- function in response to a call into the
- or virtual table methods.
+ function in response to a call into the
+ or virtual table methods.
The virtual table module that is to be responsible for the virtual table
@@ -959,7 +1615,7 @@
A standard SQLite return code.
-
+
Enables or disables a configuration option for the database.
connection.
@@ -974,133 +1630,243 @@
A standard SQLite return code.
-
+
Enables or disables extension loading by SQLite.
True to enable loading of extensions, false to disable.
-
-
-
- Loads a SQLite extension library from the named file.
-
+
+
+
+ Loads a SQLite extension library from the named file.
+
+
+ The name of the dynamic link library file containing the extension.
+
+
+ The name of the exported function used to initialize the extension.
+ If null, the default "sqlite3_extension_init" will be used.
+
+
+
+ Enables or disabled extended result codes returned by SQLite
+
+
+ Gets the last SQLite error code
+
+
+ Gets the last SQLite extended error code
+
+
+ Add a log message via the SQLite sqlite3_log interface.
+
+
+ Add a log message via the SQLite sqlite3_log interface.
+
+
+
+ Allows the setting of a logging callback invoked by SQLite when a
+ log event occurs. Only one callback may be set. If NULL is passed,
+ the logging callback is unregistered.
+
+ The callback function to invoke.
+ Returns a result code
+
+
+
+ Creates a new SQLite backup object based on the provided destination
+ database connection. The source database connection is the one
+ associated with this object. The source and destination database
+ connections cannot be the same.
+
+ The destination database connection.
+ The destination database name.
+ The source database name.
+ The newly created backup object.
+
+
+
+ Copies up to N pages from the source database to the destination
+ database associated with the specified backup object.
+
+ The backup object to use.
+
+ The number of pages to copy, negative to copy all remaining pages.
+
+
+ Set to true if the operation needs to be retried due to database
+ locking issues; otherwise, set to false.
+
+
+ True if there are more pages to be copied, false otherwise.
+
+
+
+
+ Returns the number of pages remaining to be copied from the source
+ database to the destination database associated with the specified
+ backup object.
+
+ The backup object to check.
+ The number of pages remaining to be copied.
+
+
+
+ Returns the total number of pages in the source database associated
+ with the specified backup object.
+
+ The backup object to check.
+ The total number of pages in the source database.
+
+
+
+ Destroys the backup object, rolling back any backup that may be in
+ progess.
+
+ The backup object to destroy.
+
+
+
+ Determines if the SQLite core library has been initialized for the
+ current process.
+
+
+ A boolean indicating whether or not the SQLite core library has been
+ initialized for the current process.
+
+
+
+
+ Determines if the SQLite core library has been initialized for the
+ current process.
+
+
+ A boolean indicating whether or not the SQLite core library has been
+ initialized for the current process.
+
+
+
+
+ Helper function to retrieve a column of data from an active statement.
+
+ The statement being step()'d through
+ The flags associated with the connection.
+ The column index to retrieve
+ The type of data contained in the column. If Uninitialized, this function will retrieve the datatype information.
+ Returns the data in the column
+
+
+
+ Returns non-zero if the underlying native connection handle is owned
+ by this instance.
+
+
+
+
+ Returns the logical list of functions associated with this connection.
+
+
+
+
+ Alternate SQLite3 object, overriding many text behaviors to support UTF-16 (Unicode)
+
+
+
+
+ Constructs the object used to interact with the SQLite core library
+ using the UTF-8 text encoding.
+
+
+ The DateTime format to be used when converting string values to a
+ DateTime and binding DateTime parameters.
+
+
+ The to be used when creating DateTime
+ values.
+
+
+ The format string to be used when parsing and formatting DateTime
+ values.
+
+
+ The native handle to be associated with the database connection.
+
- The name of the dynamic link library file containing the extension.
+ The fully qualified file name associated with .
-
- The name of the exported function used to initialize the extension.
- If null, the default "sqlite3_extension_init" will be used.
+
+ Non-zero if the newly created object instance will need to dispose
+ of when it is no longer needed.
-
-
- Enables or disabled extened result codes returned by SQLite
-
- true to enable extended result codes, false to disable.
-
-
-
+
- Returns the numeric result code for the most recent failed SQLite API call
- associated with the database connection.
+ Overrides SQLiteConvert.ToString() to marshal UTF-16 strings instead of UTF-8
- Result code
+ A pointer to a UTF-16 string
+ The length (IN BYTES) of the string
+ A .NET string
-
+
- Returns the extended numeric result code for the most recent failed SQLite API call
- associated with the database connection.
+ Represents a single SQL backup in SQLite.
- Extended result code
-
+
- Add a log message via the SQLite sqlite3_log interface.
+ The underlying SQLite object this backup is bound to.
- Error code to be logged with the message.
- String to be logged. Unlike the SQLite sqlite3_log()
- interface, this should be pre-formatted. Consider using the
- String.Format() function.
-
-
+
- Checks if the SQLite core library has been initialized in the current process.
+ The actual backup handle.
-
- Non-zero if the SQLite core library has been initialized in the current process,
- zero otherwise.
-
-
+
- Returns non-zero if the given database connection is in autocommit mode.
- Autocommit mode is on by default. Autocommit mode is disabled by a BEGIN
- statement. Autocommit mode is re-enabled by a COMMIT or ROLLBACK.
+ The destination database for the backup.
-
+
- Creates a new SQLite backup object based on the provided destination
- database connection. The source database connection is the one
- associated with this object. The source and destination database
- connections cannot be the same.
+ The destination database name for the backup.
- The destination database connection.
- The destination database name.
- The source database name.
- The newly created backup object.
-
+
- Copies up to N pages from the source database to the destination
- database associated with the specified backup object.
+ The source database for the backup.
- The backup object to use.
-
- The number of pages to copy or negative to copy all remaining pages.
-
-
- Set to true if the operation needs to be retried due to database
- locking issues.
-
-
- True if there are more pages to be copied, false otherwise.
-
-
+
- Returns the number of pages remaining to be copied from the source
- database to the destination database associated with the specified
- backup object.
+ The source database name for the backup.
- The backup object to check.
- The number of pages remaining to be copied.
-
+
- Returns the total number of pages in the source database associated
- with the specified backup object.
+ The last result from the StepBackup method of the SQLite3 class.
+ This is used to determine if the call to the FinishBackup method of
+ the SQLite3 class should throw an exception when it receives a non-Ok
+ return code from the core SQLite library.
- The backup object to check.
- The total number of pages in the source database.
-
+
- Destroys the backup object, rolling back any backup that may be in
- progess.
+ Initializes the backup.
- The backup object to destroy.
+ The base SQLite object.
+ The backup handle.
+ The destination database for the backup.
+ The destination database name for the backup.
+ The source database for the backup.
+ The source database name for the backup.
-
+
- Returns the error message for the specified SQLite return code using
- the internal static lookup table.
+ Disposes and finalizes the backup.
- The SQLite return code.
- The error message or null if it cannot be found.
@@ -1159,8 +1925,8 @@
- When binding parameter values with the
- type, use the interop method that accepts an
+ When binding parameter values with the
+ type, use the interop method that accepts an
value.
@@ -1180,13 +1946,13 @@
- Prevent this object instance from
+ Prevent this object instance from
loading extensions.
- Prevent this object instance from
+ Prevent this object instance from
creating virtual table modules.
@@ -1199,14 +1965,14 @@
Skip setting the logging related properties of the
- object instance that was passed to
- the method.
+ object instance that was passed to
+ the method.
Enable logging of all virtual table module errors seen by the
- method.
+ method.
@@ -1238,7 +2004,7 @@
Disable using the connection pool by default. If the "Pooling"
connection string property is specified, its value will override
this flag. The precise outcome of combining this flag with the
- flag is unspecified; however,
+ flag is unspecified; however,
one of the flags will be in effect.
@@ -1247,17 +2013,17 @@
Enable using the connection pool by default. If the "Pooling"
connection string property is specified, its value will override
this flag. The precise outcome of combining this flag with the
- flag is unspecified; however,
+ flag is unspecified; however,
one of the flags will be in effect.
Enable using per-connection mappings between type names and
- values. Also see the
- ,
- , and
- methods. These
+ values. Also see the
+ ,
+ , and
+ methods. These
per-connection mappings, when present, override the corresponding
global mappings.
@@ -1265,16 +2031,16 @@
Disable using global mappings between type names and
- values. This may be useful in some very narrow
+ values. This may be useful in some very narrow
cases; however, if there are no per-connection type mappings, the
fallback defaults will be used for both type names and their
- associated values. Therefore, use of this flag
+ associated values. Therefore, use of this flag
is not recommended.
- When the property is used, it
+ When the property is used, it
should return non-zero if there were ever any rows in the associated
result sets.
@@ -1298,29 +2064,29 @@
When returning column values, attempt to detect the affinity of
textual values by checking if they fully conform to those of the
- ,
- ,
- ,
- or types.
+ ,
+ ,
+ ,
+ or types.
When returning column values, attempt to detect the type of
string values by checking if they fully conform to those of
- the ,
- ,
- ,
- or types.
+ the ,
+ ,
+ ,
+ or types.
Skip querying runtime configuration settings for use by the
- class, including the default
- value and default database type name.
- NOTE: If the
- and/or
+ class, including the default
+ value and default database type name.
+ NOTE: If the
+ and/or
properties are not set explicitly nor set via their connection
string properties and repeated calls to determine these runtime
configuration settings are seen to be a problem, this flag
@@ -1329,15 +2095,15 @@
- When binding parameter values with the
- type, take their into account as
- well as that of the associated .
+ When binding parameter values with the
+ type, take their into account as
+ well as that of the associated .
If an exception is caught when raising the
- event, the transaction
+ event, the transaction
should be rolled back. If this is not specified, the transaction
will continue the commit process instead.
@@ -1345,7 +2111,7 @@
If an exception is caught when raising the
- event, the action should
+ event, the action should
should be denied. If this is not specified, the action will be
allowed instead.
@@ -1353,7 +2119,7 @@
If an exception is caught when raising the
- event, the operation
+ event, the operation
should be interrupted. If this is not specified, the operation
will simply continue.
@@ -1366,26 +2132,26 @@
- When returning column values as a , skip
+ When returning column values as a , skip
verifying their affinity.
Enable using per-connection mappings between type names and
- values. Also see the
- ,
- , and
- methods.
+ values. Also see the
+ ,
+ , and
+ methods.
Enable using per-connection mappings between type names and
- values. Also see the
- ,
- , and
- methods.
+ values. Also see the
+ ,
+ , and
+ methods.
@@ -1398,7 +2164,7 @@
If the database type name has not been explicitly set for the
parameter specified, fallback to using the database type name
- associated with the value.
+ associated with the value.
@@ -1443,7 +2209,7 @@
- Enables use of all applicable
+ Enables use of all applicable
properties as fallbacks for the database type name.
@@ -1466,7 +2232,7 @@
These are the supported configuration verbs for use with the native
SQLite library. They are used with the
- method.
+ method.
@@ -1617,8 +2383,8 @@
The default connection string to be used when creating a temporary
connection to execute a command via the static
- or
-
+ or
+
methods.
@@ -1747,21 +2513,6 @@
Not implemented
-
-
- The SQL command text associated with the command
-
-
-
-
- The amount of time to wait for the connection to become available before erroring out
-
-
-
-
- The type of the command. SQLite only supports CommandType.Text
-
-
Forwards to the local CreateParameter() function
@@ -1774,41 +2525,10 @@
-
-
- The connection associated with this command
-
-
-
-
- Forwards to the local Connection property
-
-
-
-
- Returns the SQLiteParameterCollection for the given command
-
-
-
-
- Forwards to the local Parameters property
-
-
-
-
- The transaction associated with this command. SQLite only supports one transaction per connection, so this property forwards to the
- command's underlying connection.
-
-
-
-
- Forwards to the local Transaction property
-
-
Verifies that all SQL queries associated with the current command text
- can be successfully compiled. A will be
+ can be successfully compiled. A will be
raised if any errors occur.
@@ -1946,9 +2666,9 @@
Non-zero if the parameter bindings should be cleared as well.
- If this is zero, a may be thrown for
+ If this is zero, a may be thrown for
any unsuccessful return codes from the native library; otherwise, a
- will only be thrown if the connection
+ will only be thrown if the connection
or its state is invalid.
@@ -1957,6 +2677,58 @@
Does nothing. Commands are prepared as they are executed the first time, and kept in prepared state afterwards.
+
+
+ Clones a command, including all its parameters
+
+ A new SQLiteCommand with the same commandtext, connection and parameters
+
+
+
+ The SQL command text associated with the command
+
+
+
+
+ The amount of time to wait for the connection to become available before erroring out
+
+
+
+
+ The type of the command. SQLite only supports CommandType.Text
+
+
+
+
+ The connection associated with this command
+
+
+
+
+ Forwards to the local Connection property
+
+
+
+
+ Returns the SQLiteParameterCollection for the given command
+
+
+
+
+ Forwards to the local Parameters property
+
+
+
+
+ The transaction associated with this command. SQLite only supports one transaction per connection, so this property forwards to the
+ command's underlying connection.
+
+
+
+
+ Forwards to the local Transaction property
+
+
Sets the method the SQLiteCommandBuilder uses to determine how to update inserted or updated rows in a DataTable.
@@ -1967,12 +2739,6 @@
Determines if the command is visible at design time. Defaults to True.
-
-
- Clones a command, including all its parameters
-
- A new SQLiteCommand with the same commandtext, connection and parameters
-
SQLite implementation of DbCommandBuilder.
@@ -2034,11 +2800,6 @@
A data adapter to receive events on.
-
-
- Gets/sets the DataAdapter for this CommandBuilder
-
-
Returns the automatically-generated SQLite command to delete rows from the database
@@ -2065,18 +2826,44 @@
-
+
+
+ Returns the automatically-generated SQLite command to insert rows into the database
+
+
+
+
+
+ Returns the automatically-generated SQLite command to insert rows into the database
+
+
+
+
+
+
+ Places brackets around an identifier
+
+ The identifier to quote
+ The bracketed identifier
+
+
+
+ Removes brackets around an identifier
+
+ The quoted (bracketed) identifier
+ The undecorated identifier
+
+
- Returns the automatically-generated SQLite command to insert rows into the database
+ Override helper, which can help the base command builder choose the right keys for the given query
+
-
+
- Returns the automatically-generated SQLite command to insert rows into the database
+ Gets/sets the DataAdapter for this CommandBuilder
-
-
@@ -2098,56 +2885,35 @@
Overridden to hide its property from the designer
-
-
- Places brackets around an identifier
-
- The identifier to quote
- The bracketed identifier
-
-
-
- Removes brackets around an identifier
-
- The quoted (bracketed) identifier
- The undecorated identifier
-
Overridden to hide its property from the designer
-
-
- Override helper, which can help the base command builder choose the right keys for the given query
-
-
-
-
This class represents a single value to be returned
- from the class via
- its ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- , or
- method. If the value of the
+ from the class via
+ its ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ , or
+ method. If the value of the
associated public field of this class is null upon returning from the
callback, the null value will only be used if the return type for the
- method called is not a value type.
- If the value to be returned from the
+ method called is not a value type.
+ If the value to be returned from the
method is unsuitable (e.g. null with a value type), an exception will
be thrown.
@@ -2155,349 +2921,349 @@
The value to be returned from the
- method -OR- null to
+ method -OR- null to
indicate an error.
The value to be returned from the
- method -OR- null to
+ method -OR- null to
indicate an error.
The value to be returned from the
- method -OR- null to
+ method -OR- null to
indicate an error.
The value to be returned from the
- method.
+ method.
The value to be returned from the
- method -OR- null to
+ method -OR- null to
indicate an error.
The value to be returned from the
- method.
+ method.
The value to be returned from the
- method -OR- null to
+ method -OR- null to
indicate an error.
The value to be returned from the
- method -OR- null to
+ method -OR- null to
indicate an error.
The value to be returned from the
- method -OR- null to
+ method -OR- null to
indicate an error.
The value to be returned from the
- method -OR- null to
+ method -OR- null to
indicate an error.
The value to be returned from the
- method -OR- null to
+ method -OR- null to
indicate an error.
The value to be returned from the
- method -OR- null to
+ method -OR- null to
indicate an error.
The value to be returned from the
- method -OR- null to
+ method -OR- null to
indicate an error.
The value to be returned from the
- method -OR- null to
+ method -OR- null to
indicate an error.
The value to be returned from the
- method.
+ method.
The value to be returned from the
- method.
+ method.
This class represents the parameters that are provided
- to the methods, with
+ to the methods, with
the exception of the column index (provided separately).
This class represents the parameters that are provided to
- the method, with
+ the method, with
the exception of the column index (provided separately).
Provides the underlying storage for the
- property.
+ property.
Constructs an instance of this class to pass into a user-defined
- callback associated with the
+ callback associated with the
method.
The value that was originally specified for the "readOnly"
- parameter to the method.
+ parameter to the method.
The value that was originally specified for the "readOnly"
- parameter to the method.
+ parameter to the method.
This class represents the parameters that are provided
- to the and
- methods, with
+ to the and
+ methods, with
the exception of the column index (provided separately).
Provides the underlying storage for the
- property.
+ property.
Provides the underlying storage for the
- property.
+ property.
Provides the underlying storage for the
- property.
+ property.
Provides the underlying storage for the
- property.
+ property.
Provides the underlying storage for the
- property.
+ property.
Constructs an instance of this class to pass into a user-defined
- callback associated with the
+ callback associated with the
method.
The value that was originally specified for the "dataOffset"
- parameter to the or
- methods.
+ parameter to the or
+ methods.
The value that was originally specified for the "buffer"
- parameter to the
+ parameter to the
method.
The value that was originally specified for the "bufferOffset"
- parameter to the or
- methods.
+ parameter to the or
+ methods.
The value that was originally specified for the "length"
- parameter to the or
- methods.
+ parameter to the or
+ methods.
Constructs an instance of this class to pass into a user-defined
- callback associated with the
+ callback associated with the
method.
The value that was originally specified for the "dataOffset"
- parameter to the or
- methods.
+ parameter to the or
+ methods.
The value that was originally specified for the "buffer"
- parameter to the
+ parameter to the
method.
The value that was originally specified for the "bufferOffset"
- parameter to the or
- methods.
+ parameter to the or
+ methods.
The value that was originally specified for the "length"
- parameter to the or
- methods.
+ parameter to the or
+ methods.
The value that was originally specified for the "dataOffset"
- parameter to the or
- methods.
+ parameter to the or
+ methods.
The value that was originally specified for the "buffer"
- parameter to the
+ parameter to the
method.
The value that was originally specified for the "buffer"
- parameter to the
+ parameter to the
method.
The value that was originally specified for the "bufferOffset"
- parameter to the or
- methods.
+ parameter to the or
+ methods.
The value that was originally specified for the "length"
- parameter to the or
- methods.
+ parameter to the or
+ methods.
This class represents the parameters and return values for the
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- ,
- , and
- methods.
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ ,
+ , and
+ methods.
Provides the underlying storage for the
- property.
+ property.
Provides the underlying storage for the
- property.
+ property.
Provides the underlying storage for the
- property.
+ property.
Constructs a new instance of this class. Depending on the method
- being called, the and/or
- parameters may be null.
+ being called, the and/or
+ parameters may be null.
- The name of the method that was
+ The name of the method that was
responsible for invoking this callback.
- If the or
- method is being called,
+ If the or
+ method is being called,
this object will contain the array related parameters for that
- method. If the method is
+ method. If the method is
being called, this object will contain the blob related parameters
for that method.
This may be used by the callback to set the return value for the
- called method.
+ called method.
- The name of the method that was
+ The name of the method that was
responsible for invoking this callback.
- If the or
- method is being called,
+ If the or
+ method is being called,
this object will contain the array related parameters for that
- method. If the method is
+ method. If the method is
being called, this object will contain the blob related parameters
for that method.
@@ -2505,7 +3271,7 @@
This may be used by the callback to set the return value for the
- called method.
+ called method.
@@ -2516,17 +3282,17 @@
the call stack.
- The instance in use.
+ The instance in use.
- The instance in use.
+ The instance in use.
- The flags associated with the instance
+ The flags associated with the instance
in use.
- The instance being bound to the command.
+ The instance being bound to the command.
The database type name associated with this callback.
@@ -2551,13 +3317,13 @@
the call stack.
- The instance in use.
+ The instance in use.
- The instance in use.
+ The instance in use.
- The flags associated with the instance
+ The flags associated with the instance
in use.
@@ -2588,31 +3354,31 @@
Provides the underlying storage for the
- property.
+ property.
Provides the underlying storage for the
- property.
+ property.
Provides the underlying storage for the
- property.
+ property.
Provides the underlying storage for the
- property.
+ property.
Provides the underlying storage for the
- property.
+ property.
@@ -2636,7 +3402,7 @@
- Creates an instance of the class.
+ Creates an instance of the class.
The custom paramater binding callback. This parameter may be null.
@@ -2704,7 +3470,7 @@
- The associated with this event, if any.
+ The associated with this event, if any.
@@ -2742,7 +3508,7 @@
Constructs the object.
The type of event being raised.
- The base associated
+ The base associated
with this event, if any.
The transaction associated with this event, if any.
The command associated with this event, if any.
@@ -2763,7 +3529,7 @@
SQLite implentation of DbConnection.
- The property can contain the following parameter(s), delimited with a semi-colon:
+ The property can contain the following parameter(s), delimited with a semi-colon:
Parameter
@@ -2820,7 +3586,7 @@
-
DefaultDbType
- This is the default to use when one cannot be determined based on the
+ This is the default to use when one cannot be determined based on the
column metadata and the configured type mappings.
N
@@ -2839,10 +3605,10 @@
NoDefaultFlags
True - Do not combine the specified (or existing) connection flags with the value of the
- property.
+ property.
False - Combine the specified (or existing) connection flags with the value of the
- property.
+ property.
N
False
@@ -2851,10 +3617,10 @@
NoSharedFlags
True - Do not combine the specified (or existing) connection flags with the value of the
- property.
+ property.
False - Combine the specified (or existing) connection flags with the value of the
- property.
+ property.
N
False
@@ -3108,7 +3874,7 @@
-
Flags
- Extra behavioral flags for the connection. See the enumeration for possible values.
+ Extra behavioral flags for the connection. See the enumeration for possible values.
N
Default
@@ -3146,7 +3912,7 @@
The approximate number of virtual machine instructions between progress
events. In order for progress events to actually fire, the event handler
- must be added to the event as well.
+ must be added to the event as well.
N
0
@@ -3165,8 +3931,8 @@
- The "invalid value" for the enumeration used
- by the property. This constant is shared
+ The "invalid value" for the enumeration used
+ by the property. This constant is shared
by this class and the SQLiteConnectionStringBuilder class.
@@ -3190,11 +3956,6 @@
for this class.
-
-
- Static variable to store the connection event handlers to call.
-
-
The extra connection flags to be used for all opened connections.
@@ -3202,8 +3963,8 @@
- The instance (for this thread) that
- had the most recent call to .
+ The instance (for this thread) that
+ had the most recent call to .
@@ -3223,8 +3984,8 @@
- If this flag is non-zero, the method will have
- no effect; however, the method will continue to
+ If this flag is non-zero, the method will have
+ no effect; however, the method will continue to
behave as normal.
@@ -3245,7 +4006,7 @@
- The per-connection mappings between type names and
+ The per-connection mappings between type names and
values. These mappings override the corresponding global mappings.
@@ -3279,7 +4040,7 @@
The extra behavioral flags for this connection, if any. See the
- enumeration for a list of
+ enumeration for a list of
possible values.
@@ -3287,20 +4048,20 @@
The cached values for all settings that have been fetched on behalf
of this connection. This cache may be cleared by calling the
- method.
+ method.
The default databse type for this connection. This value will only
- be used if the
+ be used if the
flag is set.
The default databse type name for this connection. This value will only
- be used if the
+ be used if the
flag is set.
@@ -3331,7 +4092,7 @@
The approximate number of virtual machine instructions between progress
events. In order for progress events to actually fire, the event handler
- must be added to the event as
+ must be added to the event as
well. This value will only be used when opening the database.
@@ -3341,11 +4102,6 @@
parser should be used when opening the connection.
-
-
- This event is raised whenever the database is opened or closed.
-
-
Constructs a new SQLiteConnection object
@@ -3364,7 +4120,7 @@
Initializes the connection with a pre-existing native connection handle.
This constructor overload is intended to be used only by the private
- method.
+ method.
The native connection handle to use.
@@ -3399,7 +4155,7 @@
- Raises the event.
+ Raises the event.
The connection associated with this event. If this parameter is not
@@ -3407,27 +4163,14 @@
registered event handlers will not be invoked.
- A that contains the event data.
+ A that contains the event data.
-
-
- This event is raised when events related to the lifecycle of a
- SQLiteConnection object occur.
-
-
-
-
- This property is used to obtain or set the custom connection pool
- implementation to use, if any. Setting this property to null will
- cause the default connection pool implementation to be used.
-
-
Creates and returns a new managed database connection handle. This
method is intended to be used by implementations of the
- interface only. In theory, it
+ interface only. In theory, it
could be used by other classes; however, that usage is not supported.
@@ -3529,12 +4272,12 @@
is not recommended.
- The value that should be associated with the
+ The value that should be associated with the
specified type name.
Non-zero if this mapping should be considered to be the primary one
- for the specified .
+ for the specified .
A negative value if nothing was done. Zero if no per-connection type
@@ -3586,49 +4329,49 @@
- Attempts to bind the specified object
+ Attempts to bind the specified object
instance to this connection.
- The object instance containing
+ The object instance containing
the metadata for the function to be bound.
- The object instance that implements the
+ The object instance that implements the
function to be bound.
- Attempts to bind the specified object
+ Attempts to bind the specified object
instance to this connection.
- The object instance containing
+ The object instance containing
the metadata for the function to be bound.
- A object instance that helps implement the
+ A object instance that helps implement the
function to be bound. For scalar functions, this corresponds to the
- type. For aggregate functions,
- this corresponds to the type. For
+ type. For aggregate functions,
+ this corresponds to the type. For
collation functions, this corresponds to the
- type.
+ type.
- A object instance that helps implement the
+ A object instance that helps implement the
function to be bound. For aggregate functions, this corresponds to the
- type. For other callback types, it
+ type. For other callback types, it
is not used and must be null.
- Attempts to unbind the specified object
+ Attempts to unbind the specified object
instance to this connection.
- The object instance containing
+ The object instance containing
the metadata for the function to be unbound.
Non-zero if the function was unbound.
@@ -3725,7 +4468,7 @@
Raises the state change event when the state of the connection changes
The new connection state. If this is different
- from the previous state, the event is
+ from the previous state, the event is
raised.
The event data created for the raised event, if
it was actually raised.
@@ -3737,7 +4480,7 @@
The fallback default isolation level for this connection instance -OR-
- if it cannot be determined.
+ if it cannot be determined.
@@ -3746,7 +4489,7 @@
The default isolation level for this connection instance -OR-
- if it cannot be determined.
+ if it cannot be determined.
@@ -3770,7 +4513,7 @@
- Creates a new if one isn't already active on the connection.
+ Creates a new if one isn't already active on the connection.
Supported isolation levels are Serializable, ReadCommitted and Unspecified.
@@ -3786,21 +4529,21 @@
- Creates a new if one isn't already
+ Creates a new if one isn't already
active on the connection.
Returns the new transaction object.
- Forwards to the local function
+ Forwards to the local function
Supported isolation levels are Unspecified, Serializable, and ReadCommitted
- This method is not implemented; however, the
+ This method is not implemented; however, the
event will still be raised.
@@ -3810,11 +4553,6 @@
When the database connection is closed, all commands linked to this connection are automatically reset.
-
-
- Returns the number of pool entries for the file name associated with this connection.
-
-
Clears the connection pool associated with the connection. Any other active connections using the same database file
@@ -3827,43 +4565,18 @@
Clears all connection pools. Any active connections will be discarded instead of sent to the pool when they are closed.
-
-
- The connection string containing the parameters for the connection
-
-
- For the complete list of supported connection string properties,
- please see .
-
-
- Create a new and associate it with this connection.
+ Create a new and associate it with this connection.
Returns a new command object already assigned to this connection.
- Forwards to the local function.
+ Forwards to the local function.
-
-
- Returns the data source file name without extension or path.
-
-
-
-
- Returns the fully qualified path and file name for the currently open
- database, if any.
-
-
-
-
- Returns the string "main".
-
-
Determines if the legacy connection string parser should be used.
@@ -3929,7 +4642,7 @@
Non-zero to throw an exception if any connection string values are not of
- the type. This is not applicable when running on
+ the type. This is not applicable when running on
the .NET Compact Framework.
The list of key/value pairs.
@@ -4097,91 +4810,15 @@
- Opens the connection using the parameters found in the .
+ Opens the connection using the parameters found in the .
- Opens the connection using the parameters found in the and then returns it.
+ Opens the connection using the parameters found in the and then returns it.
The current connection object.
-
-
- Gets/sets the default command timeout for newly-created commands. This is especially useful for
- commands used internally such as inside a SQLiteTransaction, where setting the timeout is not possible.
- This can also be set in the ConnectionString with "Default Timeout"
-
-
-
-
- Gets/sets the default busy timeout to use with the SQLite core library. This is only used when
- opening a connection.
-
-
-
-
- The maximum number of retries when preparing SQL to be executed. This
- normally only applies to preparation errors resulting from the database
- schema being changed.
-
-
-
-
- The approximate number of virtual machine instructions between progress
- events. In order for progress events to actually fire, the event handler
- must be added to the event as
- well. This value will only be used when the underlying native progress
- callback needs to be changed.
-
-
-
-
- Non-zero if the built-in (i.e. framework provided) connection string
- parser should be used when opening the connection.
-
-
-
-
- Gets/sets the extra behavioral flags for this connection. See the
- enumeration for a list of
- possible values.
-
-
-
-
- Gets/sets the default database type for this connection. This value
- will only be used when not null.
-
-
-
-
- Gets/sets the default database type name for this connection. This
- value will only be used when not null.
-
-
-
-
- Gets/sets the VFS name for this connection. This value will only be
- used when opening the database.
-
-
-
-
- Returns non-zero if the underlying native connection handle is
- owned by this instance.
-
-
-
-
- Returns the version of the underlying SQLite database engine
-
-
-
-
- Returns the rowid of the most recent successful INSERT into the database from this connection.
-
-
This method causes any pending database operation to abort and return at
@@ -4193,12 +4830,6 @@
returns.
-
-
- Returns the number of rows changed by the last INSERT, UPDATE, or DELETE statement executed on
- this connection.
-
-
Checks if this connection to the specified database should be considered
@@ -4214,30 +4845,13 @@
read-only.
-
-
- Returns non-zero if the given database connection is in autocommit mode.
- Autocommit mode is on by default. Autocommit mode is disabled by a BEGIN
- statement. Autocommit mode is re-enabled by a COMMIT or ROLLBACK.
-
-
-
-
- Returns the amount of memory (in bytes) currently in use by the SQLite core library.
-
-
-
-
- Returns the maximum amount of memory (in bytes) used by the SQLite core library since the high-water mark was last reset.
-
-
Returns various global memory statistics for the SQLite core library via
a dictionary of key/value pairs. Currently, only the "MemoryUsed" and
"MemoryHighwater" keys are returned and they have values that correspond
- to the values that could be obtained via the
- and connection properties.
+ to the values that could be obtained via the
+ and connection properties.
This dictionary will be populated with the global memory statistics. It
@@ -4275,91 +4889,27 @@
The size of the largest committed free block in the heap, in bytes.
- This value will be zero unless heap compaction is enabled.
-
-
- A standard SQLite return code (i.e. zero for success and non-zero
- for failure).
-
-
-
-
- Sets the status of the memory usage tracking subsystem in the SQLite core library. By default, this is enabled.
- If this is disabled, memory usage tracking will not be performed. This is not really a per-connection value, it is
- global to the process.
-
- Non-zero to enable memory usage tracking, zero otherwise.
- A standard SQLite return code (i.e. zero for success and non-zero for failure).
-
-
-
- Returns a string containing the define constants (i.e. compile-time
- options) used to compile the core managed assembly, delimited with
- spaces.
-
-
-
-
- Returns the version of the underlying SQLite core library.
-
-
-
-
- This method returns the string whose value is the same as the
- SQLITE_SOURCE_ID C preprocessor macro used when compiling the
- SQLite core library.
-
-
-
-
- Returns a string containing the compile-time options used to
- compile the SQLite core native library, delimited with spaces.
-
-
-
-
- This method returns the version of the interop SQLite assembly
- used. If the SQLite interop assembly is not in use or the
- necessary information cannot be obtained for any reason, a null
- value may be returned.
-
-
-
-
- This method returns the string whose value contains the unique
- identifier for the source checkout used to build the interop
- assembly. If the SQLite interop assembly is not in use or the
- necessary information cannot be obtained for any reason, a null
- value may be returned.
-
-
-
-
- Returns a string containing the compile-time options used to
- compile the SQLite interop assembly, delimited with spaces.
-
-
-
-
- This method returns the version of the managed components used
- to interact with the SQLite core library. If the necessary
- information cannot be obtained for any reason, a null value may
- be returned.
-
+ This value will be zero unless heap compaction is enabled.
+
+
+ A standard SQLite return code (i.e. zero for success and non-zero
+ for failure).
+
-
+
- This method returns the string whose value contains the unique
- identifier for the source checkout used to build the managed
- components currently executing. If the necessary information
- cannot be obtained for any reason, a null value may be returned.
+ Sets the status of the memory usage tracking subsystem in the SQLite core library. By default, this is enabled.
+ If this is disabled, memory usage tracking will not be performed. This is not really a per-connection value, it is
+ global to the process.
+ Non-zero to enable memory usage tracking, zero otherwise.
+ A standard SQLite return code (i.e. zero for success and non-zero for failure).
Queries and returns the value of the specified setting, using the
cached setting names and values for the last connection that used
- by the method, when available.
+ by the method, when available.
The name of the setting.
@@ -4370,28 +4920,12 @@
The value of the cached setting is stored here if found; otherwise,
- the value of is stored here.
+ the value of is stored here.
Non-zero if the cached setting was found; otherwise, zero.
-
-
- The default connection flags to be used for all opened connections
- when they are not present in the connection string.
-
-
-
-
- The extra connection flags to be used for all opened connections.
-
-
-
-
- Returns the state of the connection.
-
-
Passes a shutdown request to the SQLite core library. Does not throw
@@ -4697,1615 +5231,1081 @@
An optional foreign key name to restrict results on
A DataTable with the results of the query
-
-
- This event is raised periodically during long running queries. Changing
- the value of the property will
- determine if the operation in progress will continue or be interrupted.
- For the entire duration of the event, the associated connection and
- statement objects must not be modified, either directly or indirectly, by
- the called code.
-
-
-
-
- This event is raised whenever SQLite encounters an action covered by the
- authorizer during query preparation. Changing the value of the
- property will determine if
- the specific action will be allowed, ignored, or denied. For the entire
- duration of the event, the associated connection and statement objects
- must not be modified, either directly or indirectly, by the called code.
-
-
-
-
- This event is raised whenever SQLite makes an update/delete/insert into the database on
- this connection. It only applies to the given connection.
-
-
-
-
- This event is raised whenever SQLite is committing a transaction.
- Return non-zero to trigger a rollback.
-
-
-
-
- This event is raised whenever SQLite statement first begins executing on
- this connection. It only applies to the given connection.
-
-
-
-
- This event is raised whenever SQLite is rolling back a transaction.
-
-
-
-
- Returns the instance.
-
-
-
-
- The I/O file cache flushing behavior for the connection
-
-
-
-
- Normal file flushing at critical sections of the code
-
-
-
-
- Full file flushing after every write operation
-
-
-
-
- Use the default operating system's file flushing, SQLite does not explicitly flush the file buffers after writing
-
-
-
-
- Raised each time the number of virtual machine instructions is
- approximately equal to the value of the
- property.
-
- The connection performing the operation.
- A that contains the
- event data.
-
-
-
- Raised when authorization is required to perform an action contained
- within a SQL query.
-
- The connection performing the action.
- A that contains the
- event data.
-
-
-
- Raised when a transaction is about to be committed. To roll back a transaction, set the
- rollbackTrans boolean value to true.
-
- The connection committing the transaction
- Event arguments on the transaction
-
-
-
- Raised when data is inserted, updated and deleted on a given connection
-
- The connection committing the transaction
- The event parameters which triggered the event
-
-
-
- Raised when a statement first begins executing on a given connection
-
- The connection executing the statement
- Event arguments of the trace
-
-
-
- Raised between each backup step.
-
-
- The source database connection.
-
-
- The source database name.
-
-
- The destination database connection.
-
-
- The destination database name.
-
-
- The number of pages copied with each step.
-
-
- The number of pages remaining to be copied.
-
-
- The total number of pages in the source database.
-
-
- Set to true if the operation needs to be retried due to database
- locking issues; otherwise, set to false.
-
-
- True to continue with the backup process or false to halt the backup
- process, rolling back any changes that have been made so far.
-
-
-
-
- The event data associated with progress reporting events.
-
-
-
-
- The user-defined native data associated with this event. Currently,
- this will always contain the value of .
-
-
-
-
- The return code for the current call into the progress callback.
-
-
-
-
- Constructs an instance of this class with default property values.
-
-
-
-
- Constructs an instance of this class with specific property values.
-
-
- The user-defined native data associated with this event.
-
-
- The progress return code.
-
-
-
-
- The data associated with a call into the authorizer.
-
-
-
-
- The user-defined native data associated with this event. Currently,
- this will always contain the value of .
-
-
-
-
- The action code responsible for the current call into the authorizer.
-
-
-
-
- The first string argument for the current call into the authorizer.
- The exact value will vary based on the action code, see the
- enumeration for possible
- values.
-
-
-
-
- The second string argument for the current call into the authorizer.
- The exact value will vary based on the action code, see the
- enumeration for possible
- values.
-
-
-
-
- The database name for the current call into the authorizer, if
- applicable.
-
-
-
-
- The name of the inner-most trigger or view that is responsible for
- the access attempt or a null value if this access attempt is directly
- from top-level SQL code.
-
-
-
+
- The return code for the current call into the authorizer.
+ Static variable to store the connection event handlers to call.
-
+
- Constructs an instance of this class with default property values.
+ This event is raised whenever the database is opened or closed.
-
+
- Constructs an instance of this class with specific property values.
+ This event is raised when events related to the lifecycle of a
+ SQLiteConnection object occur.
-
- The user-defined native data associated with this event.
-
-
- The authorizer action code.
-
-
- The first authorizer argument.
-
-
- The second authorizer argument.
-
-
- The database name, if applicable.
-
-
- The name of the inner-most trigger or view that is responsible for
- the access attempt or a null value if this access attempt is directly
- from top-level SQL code.
-
-
- The authorizer return code.
-
-
+
- Whenever an update event is triggered on a connection, this enum will indicate
- exactly what type of operation is being performed.
+ This property is used to obtain or set the custom connection pool
+ implementation to use, if any. Setting this property to null will
+ cause the default connection pool implementation to be used.
-
+
- A row is being deleted from the given database and table
+ Returns the number of pool entries for the file name associated with this connection.
-
+
- A row is being inserted into the table.
+ The connection string containing the parameters for the connection
+
+ For the complete list of supported connection string properties,
+ please see .
+
-
+
- A row is being updated in the table.
+ Returns the data source file name without extension or path.
-
+
- Passed during an Update callback, these event arguments detail the type of update operation being performed
- on the given connection.
+ Returns the fully qualified path and file name for the currently open
+ database, if any.
-
+
- The name of the database being updated (usually "main" but can be any attached or temporary database)
+ Returns the string "main".
-
+
- The name of the table being updated
+ Gets/sets the default command timeout for newly-created commands. This is especially useful for
+ commands used internally such as inside a SQLiteTransaction, where setting the timeout is not possible.
+ This can also be set in the ConnectionString with "Default Timeout"
-
+
- The type of update being performed (insert/update/delete)
+ Gets/sets the default busy timeout to use with the SQLite core library. This is only used when
+ opening a connection.
-
+
- The RowId affected by this update.
+ The maximum number of retries when preparing SQL to be executed. This
+ normally only applies to preparation errors resulting from the database
+ schema being changed.
-
+
- Event arguments raised when a transaction is being committed
+ The approximate number of virtual machine instructions between progress
+ events. In order for progress events to actually fire, the event handler
+ must be added to the event as
+ well. This value will only be used when the underlying native progress
+ callback needs to be changed.
-
+
- Set to true to abort the transaction and trigger a rollback
+ Non-zero if the built-in (i.e. framework provided) connection string
+ parser should be used when opening the connection.
-
+
- Passed during an Trace callback, these event arguments contain the UTF-8 rendering of the SQL statement text
+ Gets/sets the extra behavioral flags for this connection. See the
+ enumeration for a list of
+ possible values.
-
+
- SQL statement text as the statement first begins executing
+ Gets/sets the default database type for this connection. This value
+ will only be used when not null.
-
+
- This interface represents a custom connection pool implementation
- usable by System.Data.SQLite.
+ Gets/sets the default database type name for this connection. This
+ value will only be used when not null.
-
+
- Counts the number of pool entries matching the specified file name.
+ Gets/sets the VFS name for this connection. This value will only be
+ used when opening the database.
-
- The file name to match or null to match all files.
-
-
- The pool entry counts for each matching file.
-
-
- The total number of connections successfully opened from any pool.
-
-
- The total number of connections successfully closed from any pool.
-
-
- The total number of pool entries for all matching files.
-
-
+
- Disposes of all pooled connections associated with the specified
- database file name.
+ Returns non-zero if the underlying native connection handle is
+ owned by this instance.
-
- The database file name.
-
-
+
- Disposes of all pooled connections.
+ Returns the version of the underlying SQLite database engine
-
+
- Adds a connection to the pool of those associated with the
- specified database file name.
+ Returns the rowid of the most recent successful INSERT into the database from this connection.
-
- The database file name.
-
-
- The database connection handle.
-
-
- The connection pool version at the point the database connection
- handle was received from the connection pool. This is also the
- connection pool version that the database connection handle was
- created under.
-
-
+
- Removes a connection from the pool of those associated with the
- specified database file name with the intent of using it to
- interact with the database.
+ Returns the number of rows changed by the last INSERT, UPDATE, or DELETE statement executed on
+ this connection.
-
- The database file name.
-
-
- The new maximum size of the connection pool for the specified
- database file name.
-
-
- The connection pool version associated with the returned database
- connection handle, if any.
-
-
- The database connection handle associated with the specified
- database file name or null if it cannot be obtained.
-
-
+
- This default method implementations in this class should not be used by
- applications that make use of COM (either directly or indirectly) due
- to possible deadlocks that can occur during finalization of some COM
- objects.
+ Returns non-zero if the given database connection is in autocommit mode.
+ Autocommit mode is on by default. Autocommit mode is disabled by a BEGIN
+ statement. Autocommit mode is re-enabled by a COMMIT or ROLLBACK.
-
+
- Keeps track of connections made on a specified file. The PoolVersion
- dictates whether old objects get returned to the pool or discarded
- when no longer in use.
+ Returns the amount of memory (in bytes) currently in use by the SQLite core library.
-
+
- The queue of weak references to the actual database connection
- handles.
+ Returns the maximum amount of memory (in bytes) used by the SQLite core library since the high-water mark was last reset.
-
+
- This pool version associated with the database connection
- handles in this pool queue.
+ Returns a string containing the define constants (i.e. compile-time
+ options) used to compile the core managed assembly, delimited with
+ spaces.
-
+
- The maximum size of this pool queue.
+ Returns the version of the underlying SQLite core library.
-
+
- Constructs a connection pool queue using the specified version
- and maximum size. Normally, all the database connection
- handles in this pool are associated with a single database file
- name.
+ This method returns the string whose value is the same as the
+ SQLITE_SOURCE_ID C preprocessor macro used when compiling the
+ SQLite core library.
-
- The initial pool version for this connection pool queue.
-
-
- The initial maximum size for this connection pool queue.
-
-
+
- This field is used to synchronize access to the private static data
- in this class.
+ Returns a string containing the compile-time options used to
+ compile the SQLite core native library, delimited with spaces.
-
+
- When this field is non-null, it will be used to provide the
- implementation of all the connection pool methods; otherwise,
- the default method implementations will be used.
+ This method returns the version of the interop SQLite assembly
+ used. If the SQLite interop assembly is not in use or the
+ necessary information cannot be obtained for any reason, a null
+ value may be returned.
-
+
- The dictionary of connection pools, based on the normalized file
- name of the SQLite database.
+ This method returns the string whose value contains the unique
+ identifier for the source checkout used to build the interop
+ assembly. If the SQLite interop assembly is not in use or the
+ necessary information cannot be obtained for any reason, a null
+ value may be returned.
-
+
- The default version number new pools will get.
+ Returns a string containing the compile-time options used to
+ compile the SQLite interop assembly, delimited with spaces.
-
+
- The number of connections successfully opened from any pool.
- This value is incremented by the Remove method.
+ This method returns the version of the managed components used
+ to interact with the SQLite core library. If the necessary
+ information cannot be obtained for any reason, a null value may
+ be returned.
-
+
- The number of connections successfully closed from any pool.
- This value is incremented by the Add method.
+ This method returns the string whose value contains the unique
+ identifier for the source checkout used to build the managed
+ components currently executing. If the necessary information
+ cannot be obtained for any reason, a null value may be returned.
-
+
- Counts the number of pool entries matching the specified file name.
+ The default connection flags to be used for all opened connections
+ when they are not present in the connection string.
-
- The file name to match or null to match all files.
-
-
- The pool entry counts for each matching file.
-
-
- The total number of connections successfully opened from any pool.
-
-
- The total number of connections successfully closed from any pool.
-
-
- The total number of pool entries for all matching files.
-
-
+
- Disposes of all pooled connections associated with the specified
- database file name.
+ The extra connection flags to be used for all opened connections.
-
- The database file name.
-
-
+
- Disposes of all pooled connections.
+ Returns the state of the connection.
-
+
- Adds a connection to the pool of those associated with the
- specified database file name.
+ This event is raised periodically during long running queries. Changing
+ the value of the property will
+ determine if the operation in progress will continue or be interrupted.
+ For the entire duration of the event, the associated connection and
+ statement objects must not be modified, either directly or indirectly, by
+ the called code.
-
- The database file name.
-
-
- The database connection handle.
-
-
- The connection pool version at the point the database connection
- handle was received from the connection pool. This is also the
- connection pool version that the database connection handle was
- created under.
-
-
+
- Removes a connection from the pool of those associated with the
- specified database file name with the intent of using it to
- interact with the database.
+ This event is raised whenever SQLite encounters an action covered by the
+ authorizer during query preparation. Changing the value of the
+ property will determine if
+ the specific action will be allowed, ignored, or denied. For the entire
+ duration of the event, the associated connection and statement objects
+ must not be modified, either directly or indirectly, by the called code.
-
- The database file name.
-
-
- The new maximum size of the connection pool for the specified
- database file name.
-
-
- The connection pool version associated with the returned database
- connection handle, if any.
-
-
- The database connection handle associated with the specified
- database file name or null if it cannot be obtained.
-
-
+
- This method is used to obtain a reference to the custom connection
- pool implementation currently in use, if any.
+ This event is raised whenever SQLite makes an update/delete/insert into the database on
+ this connection. It only applies to the given connection.
-
- The custom connection pool implementation or null if the default
- connection pool implementation should be used.
-
-
+
- This method is used to set the reference to the custom connection
- pool implementation to use, if any.
+ This event is raised whenever SQLite is committing a transaction.
+ Return non-zero to trigger a rollback.
-
- The custom connection pool implementation to use or null if the
- default connection pool implementation should be used.
-
-
+
- We do not have to thread-lock anything in this function, because it
- is only called by other functions above which already take the lock.
+ This event is raised whenever SQLite statement first begins executing on
+ this connection. It only applies to the given connection.
-
- The pool queue to resize.
-
-
- If a function intends to add to the pool, this is true, which
- forces the resize to take one more than it needs from the pool.
-
-
+
- SQLite implementation of DbConnectionStringBuilder.
+ This event is raised whenever SQLite is rolling back a transaction.
-
+
- Properties of this class
+ Returns the instance.
-
-
- Constructs a new instance of the class
-
+
- Default constructor
+ The I/O file cache flushing behavior for the connection
-
+
- Constructs a new instance of the class using the specified connection string.
+ Normal file flushing at critical sections of the code
- The connection string to parse
-
+
- Private initializer, which assigns the connection string and resets the builder
+ Full file flushing after every write operation
- The connection string to assign
-
+
- Gets/Sets the default version of the SQLite engine to instantiate. Currently the only valid value is 3, indicating version 3 of the sqlite library.
+ Use the default operating system's file flushing, SQLite does not explicitly flush the file buffers after writing
-
+
- Gets/Sets the synchronization mode (file flushing) of the connection string. Default is "Normal".
+ Raised each time the number of virtual machine instructions is
+ approximately equal to the value of the
+ property.
+ The connection performing the operation.
+ A that contains the
+ event data.
-
+
- Gets/Sets the encoding for the connection string. The default is "False" which indicates UTF-8 encoding.
+ Raised when authorization is required to perform an action contained
+ within a SQL query.
+ The connection performing the action.
+ A that contains the
+ event data.
-
+
- Gets/Sets whether or not to use connection pooling. The default is "False"
+ Raised when a transaction is about to be committed. To roll back a transaction, set the
+ rollbackTrans boolean value to true.
+ The connection committing the transaction
+ Event arguments on the transaction
-
+
- Gets/Sets whethor not to store GUID's in binary format. The default is True
- which saves space in the database.
+ Raised when data is inserted, updated and deleted on a given connection
+ The connection committing the transaction
+ The event parameters which triggered the event
-
+
- Gets/Sets the filename to open on the connection string.
+ Raised when a statement first begins executing on a given connection
+ The connection executing the statement
+ Event arguments of the trace
-
+
- An alternate to the data source property
+ Raised between each backup step.
+
+ The source database connection.
+
+
+ The source database name.
+
+
+ The destination database connection.
+
+
+ The destination database name.
+
+
+ The number of pages copied with each step.
+
+
+ The number of pages remaining to be copied.
+
+
+ The total number of pages in the source database.
+
+
+ Set to true if the operation needs to be retried due to database
+ locking issues; otherwise, set to false.
+
+
+ True to continue with the backup process or false to halt the backup
+ process, rolling back any changes that have been made so far.
+
-
+
- An alternate to the data source property that uses the SQLite URI syntax.
+ The event data associated with progress reporting events.
-
+
- Gets/sets the default command timeout for newly-created commands. This is especially useful for
- commands used internally such as inside a SQLiteTransaction, where setting the timeout is not possible.
+ The user-defined native data associated with this event. Currently,
+ this will always contain the value of .
-
+
- Gets/sets the busy timeout to use with the SQLite core library.
+ The return code for the current call into the progress callback.
-
+
- Gets/sets the maximum number of retries when preparing SQL to be executed.
- This normally only applies to preparation errors resulting from the database
- schema being changed.
+ Constructs an instance of this class with default property values.
-
+
- Gets/sets the approximate number of virtual machine instructions between
- progress events. In order for progress events to actually fire, the event
- handler must be added to the event
- as well.
+ Constructs an instance of this class with specific property values.
+
+ The user-defined native data associated with this event.
+
+
+ The progress return code.
+
-
+
- Determines whether or not the connection will automatically participate
- in the current distributed transaction (if one exists)
+ The data associated with a call into the authorizer.
-
+
- If set to true, will throw an exception if the database specified in the connection
- string does not exist. If false, the database will be created automatically.
+ The user-defined native data associated with this event. Currently,
+ this will always contain the value of .
-
+
- If enabled, uses the legacy 3.xx format for maximum compatibility, but results in larger
- database sizes.
+ The action code responsible for the current call into the authorizer.
-
+
- When enabled, the database will be opened for read-only access and writing will be disabled.
+ The first string argument for the current call into the authorizer.
+ The exact value will vary based on the action code, see the
+ enumeration for possible
+ values.
-
+
- Gets/sets the database encryption password
+ The second string argument for the current call into the authorizer.
+ The exact value will vary based on the action code, see the
+ enumeration for possible
+ values.
-
+
- Gets/sets the database encryption hexadecimal password
+ The database name for the current call into the authorizer, if
+ applicable.
-
+
- Gets/Sets the page size for the connection.
+ The name of the inner-most trigger or view that is responsible for
+ the access attempt or a null value if this access attempt is directly
+ from top-level SQL code.
-
+
- Gets/Sets the maximum number of pages the database may hold
+ The return code for the current call into the authorizer.
-
+
- Gets/Sets the cache size for the connection.
+ Constructs an instance of this class with default property values.
-
+
- Gets/Sets the DateTime format for the connection.
+ Constructs an instance of this class with specific property values.
+
+ The user-defined native data associated with this event.
+
+
+ The authorizer action code.
+
+
+ The first authorizer argument.
+
+
+ The second authorizer argument.
+
+
+ The database name, if applicable.
+
+
+ The name of the inner-most trigger or view that is responsible for
+ the access attempt or a null value if this access attempt is directly
+ from top-level SQL code.
+
+
+ The authorizer return code.
+
-
+
- Gets/Sets the DateTime kind for the connection.
+ Whenever an update event is triggered on a connection, this enum will indicate
+ exactly what type of operation is being performed.
-
+
- Gets/sets the DateTime format string used for formatting
- and parsing purposes.
+ A row is being deleted from the given database and table
-
+
- Gets/Sets the placeholder base schema name used for
- .NET Framework compatibility purposes.
+ A row is being inserted into the table.
-
+
- Determines how SQLite handles the transaction journal file.
+ A row is being updated in the table.
-
+
- Sets the default isolation level for transactions on the connection.
+ Passed during an Update callback, these event arguments detail the type of update operation being performed
+ on the given connection.
-
+
- Gets/sets the default database type for the connection.
+ The name of the database being updated (usually "main" but can be any attached or temporary database)
-
+
- Gets/sets the default type name for the connection.
+ The name of the table being updated
-
+
- Gets/sets the VFS name for the connection.
+ The type of update being performed (insert/update/delete)
-
+
- If enabled, use foreign key constraints
+ The RowId affected by this update.
-
+
- Enable or disable the recursive trigger capability.
+ Event arguments raised when a transaction is being committed
-
+
- If non-null, this is the version of ZipVFS to use. This requires the
- System.Data.SQLite interop assembly -AND- primary managed assembly to
- be compiled with the INTEROP_INCLUDE_ZIPVFS option; otherwise, this
- property does nothing.
+ Set to true to abort the transaction and trigger a rollback
-
+
- Gets/Sets the extra behavioral flags.
+ Passed during an Trace callback, these event arguments contain the UTF-8 rendering of the SQL statement text
-
+
- If enabled, apply the default connection settings to opened databases.
+ SQL statement text as the statement first begins executing
-
+
- If enabled, attempt to resolve the provided data source file name to a
- full path before opening.
+ This interface represents a custom connection pool implementation
+ usable by System.Data.SQLite.
-
+
- If enabled, skip using the configured default connection flags.
+ Counts the number of pool entries matching the specified file name.
+
+ The file name to match or null to match all files.
+
+
+ The pool entry counts for each matching file.
+
+
+ The total number of connections successfully opened from any pool.
+
+
+ The total number of connections successfully closed from any pool.
+
+
+ The total number of pool entries for all matching files.
+
-
+
- If enabled, skip using the configured shared connection flags.
+ Disposes of all pooled connections associated with the specified
+ database file name.
+
+ The database file name.
+
-
+
- Helper function for retrieving values from the connectionstring
+ Disposes of all pooled connections.
- The keyword to retrieve settings for
- The resulting parameter value
- Returns true if the value was found and returned
-
+
- Fallback method for MONO, which doesn't implement DbConnectionStringBuilder.GetProperties()
+ Adds a connection to the pool of those associated with the
+ specified database file name.
- The hashtable to fill with property descriptors
+
+ The database file name.
+
+
+ The database connection handle.
+
+
+ The connection pool version at the point the database connection
+ handle was received from the connection pool. This is also the
+ connection pool version that the database connection handle was
+ created under.
+
-
+
- This base class provides datatype conversion services for the SQLite provider.
+ Removes a connection from the pool of those associated with the
+ specified database file name with the intent of using it to
+ interact with the database.
+
+ The database file name.
+
+
+ The new maximum size of the connection pool for the specified
+ database file name.
+
+
+ The connection pool version associated with the returned database
+ connection handle, if any.
+
+
+ The database connection handle associated with the specified
+ database file name or null if it cannot be obtained.
+
-
+
- The fallback default database type when one cannot be obtained from an
- existing connection instance.
+ This default method implementations in this class should not be used by
+ applications that make use of COM (either directly or indirectly) due
+ to possible deadlocks that can occur during finalization of some COM
+ objects.
-
+
- The fallback default database type name when one cannot be obtained from
- an existing connection instance.
+ This field is used to synchronize access to the private static data
+ in this class.
-
+
- The value for the Unix epoch (e.g. January 1, 1970 at midnight, in UTC).
+ When this field is non-null, it will be used to provide the
+ implementation of all the connection pool methods; otherwise,
+ the default method implementations will be used.
-
+
- The value of the OLE Automation epoch represented as a Julian day. This
- field cannot be removed as the test suite relies upon it.
+ The dictionary of connection pools, based on the normalized file
+ name of the SQLite database.
-
+
- The format string for DateTime values when using the InvariantCulture or CurrentCulture formats.
+ The default version number new pools will get.
-
+
- This is the minimum Julian Day value supported by this library
- (148731163200000).
+ The number of connections successfully opened from any pool.
+ This value is incremented by the Remove method.
-
+
- This is the maximum Julian Day value supported by this library
- (464269060799000).
+ The number of connections successfully closed from any pool.
+ This value is incremented by the Add method.
-
+
- An array of ISO-8601 DateTime formats that we support parsing.
+ Counts the number of pool entries matching the specified file name.
+
+ The file name to match or null to match all files.
+
+
+ The pool entry counts for each matching file.
+
+
+ The total number of connections successfully opened from any pool.
+
+
+ The total number of connections successfully closed from any pool.
+
+
+ The total number of pool entries for all matching files.
+
-
+
- The internal default format for UTC DateTime values when converting
- to a string.
+ Disposes of all pooled connections associated with the specified
+ database file name.
+
+ The database file name.
+
-
+
- The internal default format for local DateTime values when converting
- to a string.
+ Disposes of all pooled connections.
-
+
- An UTF-8 Encoding instance, so we can convert strings to and from UTF-8
+ Adds a connection to the pool of those associated with the
+ specified database file name.
+
+ The database file name.
+
+
+ The database connection handle.
+
+
+ The connection pool version at the point the database connection
+ handle was received from the connection pool. This is also the
+ connection pool version that the database connection handle was
+ created under.
+
-
+
- The default DateTime format for this instance.
+ Removes a connection from the pool of those associated with the
+ specified database file name with the intent of using it to
+ interact with the database.
+
+ The database file name.
+
+
+ The new maximum size of the connection pool for the specified
+ database file name.
+
+
+ The connection pool version associated with the returned database
+ connection handle, if any.
+
+
+ The database connection handle associated with the specified
+ database file name or null if it cannot be obtained.
+
-
+
- The default DateTimeKind for this instance.
+ This method is used to obtain a reference to the custom connection
+ pool implementation currently in use, if any.
+
+ The custom connection pool implementation or null if the default
+ connection pool implementation should be used.
+
-
+
- The default DateTime format string for this instance.
+ This method is used to set the reference to the custom connection
+ pool implementation to use, if any.
+
+ The custom connection pool implementation to use or null if the
+ default connection pool implementation should be used.
+
-
+
- Initializes the conversion class
+ We do not have to thread-lock anything in this function, because it
+ is only called by other functions above which already take the lock.
- The default date/time format to use for this instance
- The DateTimeKind to use.
- The DateTime format string to use.
+
+ The pool queue to resize.
+
+
+ If a function intends to add to the pool, this is true, which
+ forces the resize to take one more than it needs from the pool.
+
-
+
- Converts a string to a UTF-8 encoded byte array sized to include a null-terminating character.
+ Keeps track of connections made on a specified file. The PoolVersion
+ dictates whether old objects get returned to the pool or discarded
+ when no longer in use.
- The string to convert to UTF-8
- A byte array containing the converted string plus an extra 0 terminating byte at the end of the array.
-
+
- Convert a DateTime to a UTF-8 encoded, zero-terminated byte array.
+ The queue of weak references to the actual database connection
+ handles.
-
- This function is a convenience function, which first calls ToString() on the DateTime, and then calls ToUTF8() with the
- string result.
-
- The DateTime to convert.
- The UTF-8 encoded string, including a 0 terminating byte at the end of the array.
-
+
- Converts a UTF-8 encoded IntPtr of the specified length into a .NET string
+ This pool version associated with the database connection
+ handles in this pool queue.
- The pointer to the memory where the UTF-8 string is encoded
- The number of bytes to decode
- A string containing the translated character(s)
-
+
- Converts a UTF-8 encoded IntPtr of the specified length into a .NET string
+ The maximum size of this pool queue.
- The pointer to the memory where the UTF-8 string is encoded
- The number of bytes to decode
- A string containing the translated character(s)
-
+
- Checks if the specified is within the
- supported range for a Julian Day value.
+ Constructs a connection pool queue using the specified version
+ and maximum size. Normally, all the database connection
+ handles in this pool are associated with a single database file
+ name.
-
- The Julian Day value to check.
+
+ The initial pool version for this connection pool queue.
+
+
+ The initial maximum size for this connection pool queue.
-
- Non-zero if the specified Julian Day value is in the supported
- range; otherwise, zero.
-
-
+
- Converts a Julian Day value from a to an
- .
+ SQLite implementation of DbConnectionStringBuilder.
-
- The Julian Day value to convert.
-
-
- The resulting Julian Day value.
-
-
+
- Converts a Julian Day value from an to a
- .
+ Properties of this class
-
- The Julian Day value to convert.
-
-
- The resulting Julian Day value.
-
-
+
+
+ Constructs a new instance of the class
+
- Converts a Julian Day value to a .
- This method was translated from the "computeYMD" function in the
- "date.c" file belonging to the SQLite core library.
+ Default constructor
-
- The Julian Day value to convert.
-
-
- The value to return in the event that the
- Julian Day is out of the supported range. If this value is null,
- an exception will be thrown instead.
-
-
- A value that contains the year, month, and
- day values that are closest to the specified Julian Day value.
-
-
+
- Converts a Julian Day value to a .
- This method was translated from the "computeHMS" function in the
- "date.c" file belonging to the SQLite core library.
+ Constructs a new instance of the class using the specified connection string.
-
- The Julian Day value to convert.
-
-
- The value to return in the event that the
- Julian Day value is out of the supported range. If this value is
- null, an exception will be thrown instead.
-
-
- A value that contains the hour, minute, and
- second, and millisecond values that are closest to the specified
- Julian Day value.
-
+ The connection string to parse
-
+
- Converts a to a Julian Day value.
- This method was translated from the "computeJD" function in
- the "date.c" file belonging to the SQLite core library.
- Since the range of Julian Day values supported by this method
- includes all possible (valid) values of a
- value, it should be extremely difficult for this method to
- raise an exception or return an undefined result.
+ Private initializer, which assigns the connection string and resets the builder
-
- The value to convert. This value
- will be within the range of
- (00:00:00.0000000, January 1, 0001) to
- (23:59:59.9999999, December
- 31, 9999).
-
-
- The nearest Julian Day value corresponding to the specified
- value.
-
+ The connection string to assign
-
+
- Converts a string into a DateTime, using the DateTimeFormat, DateTimeKind,
- and DateTimeFormatString specified for the connection when it was opened.
-
-
- Acceptable ISO8601 DateTime formats are:
-
- - THHmmssK
- - THHmmK
- - HH:mm:ss.FFFFFFFK
- - HH:mm:ssK
- - HH:mmK
- - yyyy-MM-dd HH:mm:ss.FFFFFFFK
- - yyyy-MM-dd HH:mm:ssK
- - yyyy-MM-dd HH:mmK
- - yyyy-MM-ddTHH:mm:ss.FFFFFFFK
- - yyyy-MM-ddTHH:mmK
- - yyyy-MM-ddTHH:mm:ssK
- - yyyyMMddHHmmssK
- - yyyyMMddHHmmK
- - yyyyMMddTHHmmssFFFFFFFK
- - THHmmss
- - THHmm
- - HH:mm:ss.FFFFFFF
- - HH:mm:ss
- - HH:mm
- - yyyy-MM-dd HH:mm:ss.FFFFFFF
- - yyyy-MM-dd HH:mm:ss
- - yyyy-MM-dd HH:mm
- - yyyy-MM-ddTHH:mm:ss.FFFFFFF
- - yyyy-MM-ddTHH:mm
- - yyyy-MM-ddTHH:mm:ss
- - yyyyMMddHHmmss
- - yyyyMMddHHmm
- - yyyyMMddTHHmmssFFFFFFF
- - yyyy-MM-dd
- - yyyyMMdd
- - yy-MM-dd
-
- If the string cannot be matched to one of the above formats -OR-
- the DateTimeFormatString if one was provided, an exception will
- be thrown.
-
- The string containing either a long integer number of 100-nanosecond units since
- System.DateTime.MinValue, a Julian day double, an integer number of seconds since the Unix epoch, a
- culture-independent formatted date and time string, a formatted date and time string in the current
- culture, or an ISO8601-format string.
- A DateTime value
+ Helper function for retrieving values from the connectionstring
+
+ The keyword to retrieve settings for
+ The resulting parameter value
+ Returns true if the value was found and returned
-
+
- Converts a string into a DateTime, using the specified DateTimeFormat,
- DateTimeKind and DateTimeFormatString.
+ Fallback method for MONO, which doesn't implement DbConnectionStringBuilder.GetProperties()
-
- Acceptable ISO8601 DateTime formats are:
-
- - THHmmssK
- - THHmmK
- - HH:mm:ss.FFFFFFFK
- - HH:mm:ssK
- - HH:mmK
- - yyyy-MM-dd HH:mm:ss.FFFFFFFK
- - yyyy-MM-dd HH:mm:ssK
- - yyyy-MM-dd HH:mmK
- - yyyy-MM-ddTHH:mm:ss.FFFFFFFK
- - yyyy-MM-ddTHH:mmK
- - yyyy-MM-ddTHH:mm:ssK
- - yyyyMMddHHmmssK
- - yyyyMMddHHmmK
- - yyyyMMddTHHmmssFFFFFFFK
- - THHmmss
- - THHmm
- - HH:mm:ss.FFFFFFF
- - HH:mm:ss
- - HH:mm
- - yyyy-MM-dd HH:mm:ss.FFFFFFF
- - yyyy-MM-dd HH:mm:ss
- - yyyy-MM-dd HH:mm
- - yyyy-MM-ddTHH:mm:ss.FFFFFFF
- - yyyy-MM-ddTHH:mm
- - yyyy-MM-ddTHH:mm:ss
- - yyyyMMddHHmmss
- - yyyyMMddHHmm
- - yyyyMMddTHHmmssFFFFFFF
- - yyyy-MM-dd
- - yyyyMMdd
- - yy-MM-dd
-
- If the string cannot be matched to one of the above formats -OR-
- the DateTimeFormatString if one was provided, an exception will
- be thrown.
-
- The string containing either a long integer number of 100-nanosecond units since
- System.DateTime.MinValue, a Julian day double, an integer number of seconds since the Unix epoch, a
- culture-independent formatted date and time string, a formatted date and time string in the current
- culture, or an ISO8601-format string.
- The SQLiteDateFormats to use.
- The DateTimeKind to use.
- The DateTime format string to use.
- A DateTime value
+ The hashtable to fill with property descriptors
-
+
- Converts a julianday value into a DateTime
+ Gets/Sets the default version of the SQLite engine to instantiate. Currently the only valid value is 3, indicating version 3 of the sqlite library.
- The value to convert
- A .NET DateTime
-
+
- Converts a julianday value into a DateTime
+ Gets/Sets the synchronization mode (file flushing) of the connection string. Default is "Normal".
- The value to convert
- The DateTimeKind to use.
- A .NET DateTime
-
+
- Converts the specified number of seconds from the Unix epoch into a
- value.
+ Gets/Sets the encoding for the connection string. The default is "False" which indicates UTF-8 encoding.
-
- The number of whole seconds since the Unix epoch.
-
-
- Either Utc or Local time.
-
-
- The new value.
-
-
+
- Converts the specified number of ticks since the epoch into a
- value.
+ Gets/Sets whether or not to use connection pooling. The default is "False"
-
- The number of whole ticks since the epoch.
-
-
- Either Utc or Local time.
-
-
- The new value.
-
-
+
- Converts a DateTime struct to a JulianDay double
+ Gets/Sets whethor not to store GUID's in binary format. The default is True
+ which saves space in the database.
- The DateTime to convert
- The JulianDay value the Datetime represents
-
+
- Converts a DateTime struct to the whole number of seconds since the
- Unix epoch.
+ Gets/Sets the filename to open on the connection string.
- The DateTime to convert
- The whole number of seconds since the Unix epoch
-
+
- Returns the DateTime format string to use for the specified DateTimeKind.
- If is not null, it will be returned verbatim.
+ An alternate to the data source property
- The DateTimeKind to use.
- The DateTime format string to use.
-
- The DateTime format string to use for the specified DateTimeKind.
-
-
+
- Converts a string into a DateTime, using the DateTimeFormat, DateTimeKind,
- and DateTimeFormatString specified for the connection when it was opened.
+ An alternate to the data source property that uses the SQLite URI syntax.
- The DateTime value to convert
- Either a string containing the long integer number of 100-nanosecond units since System.DateTime.MinValue, a
- Julian day double, an integer number of seconds since the Unix epoch, a culture-independent formatted date and time
- string, a formatted date and time string in the current culture, or an ISO8601-format date/time string.
-
+
- Converts a string into a DateTime, using the DateTimeFormat, DateTimeKind,
- and DateTimeFormatString specified for the connection when it was opened.
+ Gets/sets the default command timeout for newly-created commands. This is especially useful for
+ commands used internally such as inside a SQLiteTransaction, where setting the timeout is not possible.
- The DateTime value to convert
- The SQLiteDateFormats to use.
- The DateTimeKind to use.
- The DateTime format string to use.
- Either a string containing the long integer number of 100-nanosecond units since System.DateTime.MinValue, a
- Julian day double, an integer number of seconds since the Unix epoch, a culture-independent formatted date and time
- string, a formatted date and time string in the current culture, or an ISO8601-format date/time string.
-
+
- Internal function to convert a UTF-8 encoded IntPtr of the specified length to a DateTime.
+ Gets/sets the busy timeout to use with the SQLite core library.
-
- This is a convenience function, which first calls ToString() on the IntPtr to convert it to a string, then calls
- ToDateTime() on the string to return a DateTime.
-
- A pointer to the UTF-8 encoded string
- The length in bytes of the string
- The parsed DateTime value
-
+
- Smart method of splitting a string. Skips quoted elements, removes the quotes.
+ Gets/sets the maximum number of retries when preparing SQL to be executed.
+ This normally only applies to preparation errors resulting from the database
+ schema being changed.
-
- This split function works somewhat like the String.Split() function in that it breaks apart a string into
- pieces and returns the pieces as an array. The primary differences are:
-
- - Only one character can be provided as a separator character
- - Quoted text inside the string is skipped over when searching for the separator, and the quotes are removed.
-
- Thus, if splitting the following string looking for a comma:
- One,Two, "Three, Four", Five
-
- The resulting array would contain
- [0] One
- [1] Two
- [2] Three, Four
- [3] Five
-
- Note that the leading and trailing spaces were removed from each item during the split.
-
- Source string to split apart
- Separator character
- A string array of the split up elements
-
+
- Splits the specified string into multiple strings based on a separator
- and returns the result as an array of strings.
+ Gets/sets the approximate number of virtual machine instructions between
+ progress events. In order for progress events to actually fire, the event
+ handler must be added to the event
+ as well.
-
- The string to split into pieces based on the separator character. If
- this string is null, null will always be returned. If this string is
- empty, an array of zero strings will always be returned.
-
-
- The character used to divide the original string into sub-strings.
- This character cannot be a backslash or a double-quote; otherwise, no
- work will be performed and null will be returned.
-
-
- If this parameter is non-zero, all double-quote characters will be
- retained in the returned list of strings; otherwise, they will be
- dropped.
-
-
- Upon failure, this parameter will be modified to contain an appropriate
- error message.
-
-
- The new array of strings or null if the input string is null -OR- the
- separator character is a backslash or a double-quote -OR- the string
- contains an unbalanced backslash or double-quote character.
-
-
+
- Queries and returns the string representation for an object, using the
- specified (or current) format provider.
+ Determines whether or not the connection will automatically participate
+ in the current distributed transaction (if one exists)
-
- The object instance to return the string representation for.
-
-
- The format provider to use -OR- null if the current format provider for
- the thread should be used instead.
-
-
- The string representation for the object instance -OR- null if the
- object instance is also null.
-
-
+
- Attempts to convert an arbitrary object to the Boolean data type.
- Null object values are converted to false. Throws an exception
- upon failure.
+ If set to true, will throw an exception if the database specified in the connection
+ string does not exist. If false, the database will be created automatically.
+
+
+
+
+ If enabled, uses the legacy 3.xx format for maximum compatibility, but results in larger
+ database sizes.
+
+
+
+
+ When enabled, the database will be opened for read-only access and writing will be disabled.
-
- The object value to convert.
-
-
- The format provider to use.
-
-
- If non-zero, a string value will be converted using the
-
- method; otherwise, the
- method will be used.
-
-
- The converted boolean value.
-
-
+
- Convert a value to true or false.
+ Gets/sets the database encryption password
- A string or number representing true or false
-
-
+
- Attempts to convert a into a .
+ Gets/sets the database encryption hexadecimal password
-
- The to convert, cannot be null.
-
-
- The converted value.
-
-
- The supported strings are "yes", "no", "y", "n", "on", "off", "0", "1",
- as well as any prefix of the strings
- and . All strings are treated in a
- case-insensitive manner.
-
-
+
- Converts a SQLiteType to a .NET Type object
+ Gets/Sets the page size for the connection.
- The SQLiteType to convert
- Returns a .NET Type object
-
+
- For a given intrinsic type, return a DbType
+ Gets/Sets the maximum number of pages the database may hold
- The native type to convert
- The corresponding (closest match) DbType
-
+
- Returns the ColumnSize for the given DbType
+ Gets/Sets the cache size for the connection.
- The DbType to get the size of
-
-
+
- Determines the default database type name to be used when a
- per-connection value is not available.
+ Gets/Sets the DateTime format for the connection.
-
- The connection context for type mappings, if any.
-
-
- The default database type name to use.
-
-
+
- If applicable, issues a trace log message warning about falling back to
- the default database type name.
+ Gets/Sets the DateTime kind for the connection.
-
- The database value type.
-
-
- The flags associated with the parent connection object.
-
-
- The textual name of the database type.
-
-
+
- If applicable, issues a trace log message warning about falling back to
- the default database value type.
+ Gets/sets the DateTime format string used for formatting
+ and parsing purposes.
-
- The textual name of the database type.
-
-
- The flags associated with the parent connection object.
-
-
- The database value type.
-
-
+
- For a given database value type, return the "closest-match" textual database type name.
+ Gets/Sets the placeholder base schema name used for
+ .NET Framework compatibility purposes.
- The connection context for custom type mappings, if any.
- The database value type.
- The flags associated with the parent connection object.
- The type name or an empty string if it cannot be determined.
-
+
- Convert a DbType to a Type
+ Determines how SQLite handles the transaction journal file.
- The DbType to convert from
- The closest-match .NET type
-
+
- For a given type, return the closest-match SQLite TypeAffinity, which only understands a very limited subset of types.
+ Sets the default isolation level for transactions on the connection.
- The type to evaluate
- The SQLite type affinity for that type.
-
+
- Builds and returns a map containing the database column types
- recognized by this provider.
+ Gets/sets the default database type for the connection.
-
- A map containing the database column types recognized by this
- provider.
-
-
+
- Determines if a database type is considered to be a string.
+ Gets/sets the default type name for the connection.
-
- The database type to check.
-
-
- Non-zero if the database type is considered to be a string, zero
- otherwise.
-
-
+
- Determines and returns the runtime configuration setting string that
- should be used in place of the specified object value.
+ Gets/sets the VFS name for the connection.
-
- The object value to convert to a string.
-
-
- Either the string to use in place of the object value -OR- null if it
- cannot be determined.
-
-
+
- Determines the default value to be used when a
- per-connection value is not available.
+ If enabled, use foreign key constraints
-
- The connection context for type mappings, if any.
-
-
- The default value to use.
-
-
+
- Converts the object value, which is assumed to have originated
- from a , to a string value.
+ Enable or disable the recursive trigger capability.
-
- The value to be converted to a string.
-
-
- A null value will be returned if the original value is null -OR-
- the original value is . Otherwise,
- the original value will be converted to a string, using its
- (possibly overridden) method and
- then returned.
-
-
+
- Determines if the specified textual value appears to be a
- value.
+ If non-null, this is the version of ZipVFS to use. This requires the
+ System.Data.SQLite interop assembly -AND- primary managed assembly to
+ be compiled with the INTEROP_INCLUDE_ZIPVFS option; otherwise, this
+ property does nothing.
-
- The textual value to inspect.
-
-
- Non-zero if the text looks like a value,
- zero otherwise.
-
-
+
- Determines if the specified textual value appears to be an
- value.
+ Gets/Sets the extra behavioral flags.
-
- The textual value to inspect.
-
-
- Non-zero if the text looks like an value,
- zero otherwise.
-
-
+
- Determines if the specified textual value appears to be a
- value.
+ If enabled, apply the default connection settings to opened databases.
-
- The textual value to inspect.
-
-
- Non-zero if the text looks like a value,
- zero otherwise.
-
-
+
- Determines if the specified textual value appears to be a
- value.
+ If enabled, attempt to resolve the provided data source file name to a
+ full path before opening.
-
- The object instance configured with
- the chosen format.
-
-
- The textual value to inspect.
-
-
- Non-zero if the text looks like a in the
- configured format, zero otherwise.
-
-
+
- For a given textual database type name, return the "closest-match" database type.
- This method is called during query result processing; therefore, its performance
- is critical.
+ If enabled, skip using the configured default connection flags.
+
+
+
+
+ If enabled, skip using the configured shared connection flags.
- The connection context for custom type mappings, if any.
- The textual name of the database type to match.
- The flags associated with the parent connection object.
- The .NET DBType the text evaluates to.
@@ -6356,9 +6356,9 @@
These are the event types associated with the
-
+
delegate (and its corresponding event) and the
- class.
+ class.
@@ -6388,7 +6388,7 @@
- The method was called on the
+ The method was called on the
connection.
@@ -6414,7 +6414,7 @@
- An instance of a derived class has
+ An instance of a derived class has
been created to wrap a native resource.
@@ -6606,7 +6606,7 @@
The requested command execution type. This controls which method of the
- object will be called.
+ object will be called.
@@ -6617,31 +6617,31 @@
The command is not expected to return a result -OR- the result is not
- needed. The or
- method
+ needed. The or
+ method
will be called.
The command is expected to return a scalar result -OR- the result should
- be limited to a scalar result. The
- or method will
+ be limited to a scalar result. The
+ or method will
be called.
- The command is expected to return result.
- The or
- method will
+ The command is expected to return result.
+ The or
+ method will
be called.
Use the default command execution type. Using this value is the same
- as using the value.
+ as using the value.
@@ -7003,16 +7003,6 @@
Zero when being disposed via garbage collection; otherwise, non-zero.
-
-
- Row updating event handler
-
-
-
-
- Row updated event handler
-
-
Raised by the underlying DbDataAdapter when a row is being updated
@@ -7025,6 +7015,16 @@
The event's specifics
+
+
+ Row updating event handler
+
+
+
+
+ Row updated event handler
+
+
Gets/sets the select command for this DataAdapter
@@ -7161,40 +7161,20 @@
-
- Throw an error if a row is not loaded
-
-
-
-
- Enumerator support
-
- Returns a DbEnumerator object.
-
-
-
- Not implemented. Returns 0
-
-
-
-
- Returns the number of columns in the current resultset
-
-
-
-
- Forces the connection flags cached by this data reader to be refreshed
- from the underlying connection.
+
+ Throw an error if a row is not loaded
-
+
- Returns the number of rows seen so far in the current result set.
+ Enumerator support
+ Returns a DbEnumerator object.
-
+
- Returns the number of visible fields in the current resultset
+ Forces the connection flags cached by this data reader to be refreshed
+ from the underlying connection.
@@ -7240,7 +7220,7 @@
Attempts to query the integer identifier for the current row. This
will not work for tables that were created WITHOUT ROWID -OR- if the
query does not include the "rowid" column or one of its aliases -OR-
- if the was not created with the
+ if the was not created with the
flag.
@@ -7250,17 +7230,17 @@
- Retrieves the column as a object.
+ Retrieves the column as a object.
This will not work for tables that were created WITHOUT ROWID
-OR- if the query does not include the "rowid" column or one
- of its aliases -OR- if the was
+ of its aliases -OR- if the was
not created with the flag.
The index of the column.
Non-zero to open the blob object for read-only access.
- A new object.
+ A new object.
@@ -7456,16 +7436,6 @@
cannot be obtained.
-
-
- Returns True if the resultset has rows that can be fetched
-
-
-
-
- Returns True if the data reader is closed
-
-
Returns True if the specified column is null
@@ -7517,6 +7487,36 @@
True if a new row was successfully loaded and is ready for processing
+
+
+ Not implemented. Returns 0
+
+
+
+
+ Returns the number of columns in the current resultset
+
+
+
+
+ Returns the number of rows seen so far in the current result set.
+
+
+
+
+ Returns the number of visible fields in the current resultset
+
+
+
+
+ Returns True if the resultset has rows that can be fetched
+
+
+
+
+ Returns True if the data reader is closed
+
+
Returns the number of rows affected by the statement being executed.
@@ -7601,23 +7601,6 @@
Contains contextual information about the source or destination.
-
-
- Gets the associated SQLite result code for this exception as a
- . This property returns the same
- underlying value as the property.
-
-
-
-
- Gets the associated SQLite return code for this exception as an
- . For desktop versions of the .NET Framework,
- this property overrides the property of the same name within the
-
- class. This property returns the same underlying value as the
- property.
-
-
Returns the error message for the specified SQLite return code.
@@ -7634,6 +7617,23 @@
Optional detailed error message.
Error message text for the return code.
+
+
+ Gets the associated SQLite result code for this exception as a
+ . This property returns the same
+ underlying value as the property.
+
+
+
+
+ Gets the associated SQLite return code for this exception as an
+ . For desktop versions of the .NET Framework,
+ this property overrides the property of the same name within the
+
+ class. This property returns the same underlying value as the
+ property.
+
+
SQLite error codes. Actually, this enumeration represents a return code,
@@ -8091,10 +8091,10 @@
- SQLite implementation of .
+ SQLite implementation of .
- SQLite implementation of .
+ SQLite implementation of .
@@ -8112,62 +8112,62 @@
Cleans up resources associated with the current instance.
-
-
- This event is raised whenever SQLite raises a logging event.
- Note that this should be set as one of the first things in the
- application. This event is provided for backward compatibility only.
- New code should use the class instead.
-
-
- Static instance member which returns an instanced class.
+ Static instance member which returns an instanced class.
- Creates and returns a new object.
+ Creates and returns a new object.
The new object.
- Creates and returns a new object.
+ Creates and returns a new object.
The new object.
- Creates and returns a new object.
+ Creates and returns a new object.
The new object.
- Creates and returns a new object.
+ Creates and returns a new object.
The new object.
- Creates and returns a new object.
+ Creates and returns a new object.
The new object.
- Creates and returns a new object.
+ Creates and returns a new object.
The new object.
- Will provide a object in .NET 3.5.
+ Will provide a object in .NET 3.5.
The class or interface type to query for.
+
+
+ This event is raised whenever SQLite raises a logging event.
+ Note that this should be set as one of the first things in the
+ application. This event is provided for backward compatibility only.
+ New code should use the class instead.
+
+
This abstract class is designed to handle user-defined functions easily. An instance of the derived class is made for each
@@ -8249,7 +8249,7 @@
DateTime and binding DateTime parameters.
- The to be used when creating DateTime
+ The to be used when creating DateTime
values.
@@ -8278,12 +8278,6 @@
Cleans up resources associated with the current instance.
-
-
- Returns a reference to the underlying connection's SQLiteConvert class, which can be used to convert
- strings and DateTime's into the current connection's encoding schema.
-
-
Scalar functions override this method to do their magic.
@@ -8428,7 +8422,7 @@
Alternative method of registering a function. This method
does not require the specified type to be annotated with
- .
+ .
The name of the function to register.
@@ -8441,19 +8435,19 @@
aggregate, or collating sequence).
- The that actually implements the function.
- This will only be used if the
- and parameters are null.
+ The that actually implements the function.
+ This will only be used if the
+ and parameters are null.
- The to be used for all calls into the
- ,
- ,
- and virtual methods.
+ The to be used for all calls into the
+ ,
+ ,
+ and virtual methods.
- The to be used for all calls into the
- virtual method. This
+ The to be used for all calls into the
+ virtual method. This
parameter is only necessary for aggregate functions.
@@ -8475,11 +8469,11 @@
- Creates a instance based on the specified
- .
+ Creates a instance based on the specified
+ .
- The containing the metadata about
+ The containing the metadata about
the function to create.
@@ -8521,8 +8515,8 @@
This function binds a user-defined function to a connection.
- The object instance associated with the
- that the function should be bound to.
+ The object instance associated with the
+ that the function should be bound to.
The object instance containing
@@ -8541,8 +8535,8 @@
This function unbinds a user-defined functions from a connection.
- The object instance associated with the
- that the function should be bound to.
+ The object instance associated with the
+ that the function should be bound to.
The object instance containing
@@ -8557,10 +8551,16 @@
Non-zero if the function was unbound.
+
+
+ Returns a reference to the underlying connection's SQLiteConvert class, which can be used to convert
+ strings and DateTime's into the current connection's encoding schema.
+
+
- This type is used with the
- method.
+ This type is used with the
+ method.
This is always the string literal "Invoke".
@@ -8574,8 +8574,8 @@
- This type is used with the
- method.
+ This type is used with the
+ method.
This is always the string literal "Step".
@@ -8585,7 +8585,7 @@
The step number (one based). This is incrememted each time the
- method is called.
+ method is called.
A placeholder for implementers to store contextual data pertaining
@@ -8594,8 +8594,8 @@
- This type is used with the
- method.
+ This type is used with the
+ method.
This is always the string literal "Final".
@@ -8610,8 +8610,8 @@
- This type is used with the
- method.
+ This type is used with the
+ method.
This is always the string literal "Compare".
@@ -8623,38 +8623,38 @@
The second strnig to compare.
- A positive integer if the parameter is
- greater than the parameter, a negative
- integer if the parameter is less than
- the parameter, or zero if they are
+ A positive integer if the parameter is
+ greater than the parameter, a negative
+ integer if the parameter is less than
+ the parameter, or zero if they are
equal.
- This class implements a SQLite function using a .
- All the virtual methods of the class are
- implemented using calls to the ,
- , ,
- and strongly typed delegate types
- or via the method.
+ This class implements a SQLite function using a .
+ All the virtual methods of the class are
+ implemented using calls to the ,
+ , ,
+ and strongly typed delegate types
+ or via the method.
The arguments are presented in the same order they appear in
- the associated methods with one exception:
+ the associated methods with one exception:
the first argument is the name of the virtual method being implemented.
This error message is used by the overridden virtual methods when
- a required property (e.g.
- or ) has not been
+ a required property (e.g.
+ or ) has not been
set.
- This error message is used by the overridden
- method when the result does not have a type of .
+ This error message is used by the overridden
+ method when the result does not have a type of .
@@ -8665,50 +8665,50 @@
Constructs an instance of this class using the specified
- as the
+ as the
implementation.
- The to be used for all calls into the
- , , and
- virtual methods needed by the
- base class.
+ The to be used for all calls into the
+ , , and
+ virtual methods needed by the
+ base class.
- The to be used for all calls into the
- virtual methods needed by the
- base class.
+ The to be used for all calls into the
+ virtual methods needed by the
+ base class.
- Returns the list of arguments for the method,
- as an of . The first
+ Returns the list of arguments for the method,
+ as an of . The first
argument is always the literal string "Invoke".
- The original arguments received by the method.
+ The original arguments received by the method.
Non-zero if the returned arguments are going to be used with the
- type; otherwise, zero.
+ type; otherwise, zero.
- The arguments to pass to the configured .
+ The arguments to pass to the configured .
- Returns the list of arguments for the method,
- as an of . The first
+ Returns the list of arguments for the method,
+ as an of . The first
argument is always the literal string "Step".
- The original arguments received by the method.
+ The original arguments received by the method.
The step number (one based). This is incrememted each time the
- method is called.
+ method is called.
A placeholder for implementers to store contextual data pertaining
@@ -8716,21 +8716,21 @@
Non-zero if the returned arguments are going to be used with the
- type; otherwise, zero.
+ type; otherwise, zero.
- The arguments to pass to the configured .
+ The arguments to pass to the configured .
- Updates the output arguments for the method,
- using an of . The first
+ Updates the output arguments for the method,
+ using an of . The first
argument is always the literal string "Step". Currently, only the
- parameter is updated.
+ parameter is updated.
- The original arguments received by the method.
+ The original arguments received by the method.
A placeholder for implementers to store contextual data pertaining
@@ -8738,16 +8738,16 @@
Non-zero if the returned arguments are going to be used with the
- type; otherwise, zero.
+ type; otherwise, zero.
- The arguments to pass to the configured .
+ The arguments to pass to the configured .
- Returns the list of arguments for the method,
- as an of . The first
+ Returns the list of arguments for the method,
+ as an of . The first
argument is always the literal string "Final".
@@ -8756,16 +8756,16 @@
Non-zero if the returned arguments are going to be used with the
- type; otherwise, zero.
+ type; otherwise, zero.
- The arguments to pass to the configured .
+ The arguments to pass to the configured .
- Returns the list of arguments for the method,
- as an of . The first
+ Returns the list of arguments for the method,
+ as an of . The first
argument is always the literal string "Compare".
@@ -8776,31 +8776,16 @@
Non-zero if the returned arguments are going to be used with the
- type; otherwise, zero.
+ type; otherwise, zero.
- The arguments to pass to the configured .
+ The arguments to pass to the configured .
-
-
- The to be used for all calls into the
- , , and
- virtual methods needed by the
- base class.
-
-
-
-
- The to be used for all calls into the
- virtual methods needed by the
- base class.
-
-
This virtual method is the implementation for scalar functions.
- See the method for more
+ See the method for more
details.
@@ -8813,7 +8798,7 @@
This virtual method is part of the implementation for aggregate
- functions. See the method
+ functions. See the method
for more details.
@@ -8821,7 +8806,7 @@
The step number (one based). This is incrememted each time the
- method is called.
+ method is called.
A placeholder for implementers to store contextual data pertaining
@@ -8831,7 +8816,7 @@
This virtual method is part of the implementation for aggregate
- functions. See the method
+ functions. See the method
for more details.
@@ -8845,7 +8830,7 @@
This virtual method is part of the implementation for collating
- sequences. See the method
+ sequences. See the method
for more details.
@@ -8855,13 +8840,28 @@
The second strnig to compare.
- A positive integer if the parameter is
- greater than the parameter, a negative
- integer if the parameter is less than
- the parameter, or zero if they are
+ A positive integer if the parameter is
+ greater than the parameter, a negative
+ integer if the parameter is less than
+ the parameter, or zero if they are
equal.
+
+
+ The to be used for all calls into the
+ , , and
+ virtual methods needed by the
+ base class.
+
+
+
+
+ The to be used for all calls into the
+ virtual methods needed by the
+ base class.
+
+
Extends SQLiteFunction and allows an inherited class to obtain the collating sequence associated with a function call.
@@ -9033,8 +9033,8 @@
Constructs an instance of this class. This sets the initial
- , , and
- properties to null.
+ , , and
+ properties to null.
The name of the function, as seen by the SQLite core library.
@@ -9064,24 +9064,24 @@
- The object instance that describes the class
+ The object instance that describes the class
containing the implementation for the associated function. The value of
- this property will not be used if either the or
- property values are set to non-null.
+ this property will not be used if either the or
+ property values are set to non-null.
- The that refers to the implementation for the
+ The that refers to the implementation for the
associated function. If this property value is set to non-null, it will
- be used instead of the property value.
+ be used instead of the property value.
- The that refers to the implementation for the
+ The that refers to the implementation for the
associated function. If this property value is set to non-null, it will
- be used instead of the property value.
+ be used instead of the property value.
@@ -9092,21 +9092,6 @@
-
-
- Used to support CommandBehavior.KeyInfo
-
-
-
-
- Used to keep track of the per-table RowId column metadata.
-
-
-
-
- A single sub-query for a given table/database.
-
-
This function does all the nasty work at determining what keys need to be returned for
@@ -9116,11 +9101,6 @@
-
-
- How many additional columns of keyinfo we're holding
-
-
Make sure all the subqueries are open and ready and sync'd with the current rowid
@@ -9138,6 +9118,26 @@
+
+
+ How many additional columns of keyinfo we're holding
+
+
+
+
+ Used to support CommandBehavior.KeyInfo
+
+
+
+
+ Used to keep track of the per-table RowId column metadata.
+
+
+
+
+ A single sub-query for a given table/database.
+
+
Event data for logging event handlers.
@@ -9146,7 +9146,7 @@
The error code. The type of this object value should be
- or .
+ or .
@@ -9166,7 +9166,7 @@
Should be null.
The error code. The type of this object value should be
- or .
+ or .
The error message, if any.
The extra data, if any.
@@ -9195,11 +9195,6 @@
Member variable to store the AppDomain.DomainUnload event handler.
-
-
- Member variable to store the application log handler to call.
-
-
The default log event handler.
@@ -9233,19 +9228,6 @@
Should be null.
The data associated with this event.
-
-
- This event is raised whenever SQLite raises a logging event.
- Note that this should be set as one of the first things in the
- application.
-
-
-
-
- If this property is true, logging is enabled; otherwise, logging is
- disabled. When logging is disabled, no logging events will fire.
-
-
Log a message to all the registered log event handlers without going
@@ -9321,6 +9303,24 @@
Should be null.
The data associated with this event.
+
+
+ Member variable to store the application log handler to call.
+
+
+
+
+ This event is raised whenever SQLite raises a logging event.
+ Note that this should be set as one of the first things in the
+ application.
+
+
+
+
+ If this property is true, logging is enabled; otherwise, logging is
+ disabled. When logging is disabled, no logging events will fire.
+
+
MetaDataCollections specific to SQLite
@@ -9378,7 +9378,7 @@
- This value represents an "unknown" .
+ This value represents an "unknown" .
@@ -9580,6 +9580,17 @@
The source column
The row version information
+
+
+ Resets the DbType of the parameter so it can be inferred from the value
+
+
+
+
+ Clones a parameter
+
+ A new, unassociated SQLiteParameter
+
The command associated with this parameter.
@@ -9605,11 +9616,6 @@
Returns the parameter name
-
-
- Resets the DbType of the parameter so it can be inferred from the value
-
-
Returns the size of the parameter
@@ -9640,12 +9646,6 @@
The database type name associated with this parameter, if any.
-
-
- Clones a parameter
-
- A new, unassociated SQLiteParameter
-
SQLite implementation of DbParameterCollection.
@@ -9672,26 +9672,6 @@
The command to which the collection belongs
-
-
- Returns false
-
-
-
-
- Returns false
-
-
-
-
- Returns false
-
-
-
-
- Returns null
-
-
Retrieves an enumerator for the collection
@@ -9773,36 +9753,17 @@
- Determines if the parameter exists in the collection
-
- The SQLiteParameter to check
- True if the parameter is in the collection
-
-
-
- Not implemented
-
-
-
-
-
-
- Returns a count of parameters in the collection
-
-
-
-
- Overloaded to specialize the return value of the default indexer
+ Determines if the parameter exists in the collection
- Name of the parameter to get/set
- The specified named SQLite parameter
+ The SQLiteParameter to check
+ True if the parameter is in the collection
-
+
- Overloaded to specialize the return value of the default indexer
+ Not implemented
- The index of the parameter to get/set
- The specified SQLite parameter
+
+
@@ -9883,6 +9844,45 @@
to the same named parameter. Unnamed parameters are bound in sequence.
+
+
+ Returns false
+
+
+
+
+ Returns false
+
+
+
+
+ Returns false
+
+
+
+
+ Returns null
+
+
+
+
+ Returns a count of parameters in the collection
+
+
+
+
+ Overloaded to specialize the return value of the default indexer
+
+ Name of the parameter to get/set
+ The specified named SQLite parameter
+
+
+
+ Overloaded to specialize the return value of the default indexer
+
+ The index of the parameter to get/set
+ The specified SQLite parameter
+
Represents a single SQL statement in SQLite.
@@ -9992,7 +9992,7 @@
The index of the column being read.
- The instance being bound to the
+ The instance being bound to the
command.
@@ -10035,6 +10035,11 @@
Commits the current transaction.
+
+
+ Rolls back the active transaction.
+
+
Returns the underlying connection to which this transaction applies.
@@ -10050,11 +10055,6 @@
Gets the isolation level of the transaction. SQLite only supports Serializable transactions.
-
-
- Rolls back the active transaction.
-
-
This static class provides some methods that are shared between the
@@ -10063,7 +10063,7 @@
- This lock is used to protect the static field.
+ This lock is used to protect the static field.
@@ -10074,8 +10074,8 @@
Keeps track of whether we are running on Mono. Initially null, it is
- set by the method on its first call. Later, it
- is returned verbatim by the method.
+ set by the method on its first call. Later, it
+ is returned verbatim by the method.
@@ -10098,9 +10098,9 @@
This is a wrapper around the
- method.
+ method.
On Mono, it has to call the method overload without the
- parameter, due to a bug in Mono.
+ parameter, due to a bug in Mono.
This is used for culture-specific formatting.
@@ -10121,19 +10121,6 @@
loading features of the underlying platform.
-
-
- This delegate is used to wrap the concept of loading a native
- library, based on a file name, and returning the loaded module
- handle.
-
-
- The file name of the native library to load.
-
-
- The native module handle upon success -OR- IntPtr.Zero on failure.
-
-
Attempts to load the specified native library file using the Win32
@@ -10169,28 +10156,24 @@
The native module handle upon success -OR- IntPtr.Zero on failure.
-
-
- This class declares P/Invoke methods to call native POSIX APIs.
-
-
-
+
- This is the P/Invoke method that wraps the native Unix dlopen
- function. See the POSIX documentation for full details on what it
- does.
+ This delegate is used to wrap the concept of loading a native
+ library, based on a file name, and returning the loaded module
+ handle.
- The name of the executable library.
-
-
- This must be a combination of the individual bit flags RTLD_LAZY,
- RTLD_NOW, RTLD_GLOBAL, and/or RTLD_LOCAL.
+ The file name of the native library to load.
The native module handle upon success -OR- IntPtr.Zero on failure.
+
+
+ This class declares P/Invoke methods to call native POSIX APIs.
+
+
For use with dlopen(), bind function calls lazily.
@@ -10216,6 +10199,23 @@
For use with dlopen(), the defaults used by this class.
+
+
+ This is the P/Invoke method that wraps the native Unix dlopen
+ function. See the POSIX documentation for full details on what it
+ does.
+
+
+ The name of the executable library.
+
+
+ This must be a combination of the individual bit flags RTLD_LAZY,
+ RTLD_NOW, RTLD_GLOBAL, and/or RTLD_LOCAL.
+
+
+ The native module handle upon success -OR- IntPtr.Zero on failure.
+
+
This class declares P/Invoke methods to call native Win32 APIs.
@@ -11908,6 +11908,17 @@
be passed to the sqlite3_result_*() and associated functions.
+
+
+ This interface represents a native handle provided by the SQLite core
+ library.
+
+
+
+
+ The native handle value.
+
+
The native context handle.
@@ -11922,12 +11933,6 @@
The native context handle to use.
-
-
- Returns the underlying SQLite native handle associated with this
- object instance.
-
-
Sets the context result to NULL.
@@ -11935,59 +11940,59 @@
- Sets the context result to the specified
+ Sets the context result to the specified
value.
- The value to use.
+ The value to use.
- Sets the context result to the specified
+ Sets the context result to the specified
value.
- The value to use.
+ The value to use.
- Sets the context result to the specified
+ Sets the context result to the specified
value.
- The value to use.
+ The value to use.
- Sets the context result to the specified
+ Sets the context result to the specified
value.
- The value to use. This value will be
+ The value to use. This value will be
converted to the UTF-8 encoding prior to being used.
- Sets the context result to the specified
+ Sets the context result to the specified
value containing an error message.
- The value containing the error message text.
+ The value containing the error message text.
This value will be converted to the UTF-8 encoding prior to being
used.
- Sets the context result to the specified
+ Sets the context result to the specified
value.
- The value to use.
+ The value to use.
@@ -12002,11 +12007,11 @@
- Sets the context result to the specified array
+ Sets the context result to the specified array
value.
- The array value to use.
+ The array value to use.
@@ -12019,12 +12024,18 @@
- Sets the context result to the specified .
+ Sets the context result to the specified .
- The to use.
+ The to use.
+
+
+ Returns the underlying SQLite native handle associated with this
+ object instance.
+
+
This class represents a value from the SQLite core library that can be
@@ -12054,7 +12065,7 @@
Converts a logical array of native pointers to native sqlite3_value
- structures into a managed array of
+ structures into a managed array of
object instances.
@@ -12066,31 +12077,10 @@
structures to convert.
- The managed array of object instances or
+ The managed array of object instances or
null upon failure.
-
-
- Returns the underlying SQLite native handle associated with this
- object instance.
-
-
-
-
- Returns non-zero if the native SQLite value has been successfully
- persisted as a managed value within this object instance (i.e. the
- property may then be read successfully).
-
-
-
-
- If the managed value for this object instance is available (i.e. it
- has been previously persisted via the ) method,
- that value is returned; otherwise, an exception is thrown. The
- returned value may be null.
-
-
Gets and returns the type affinity associated with this value.
@@ -12111,48 +12101,48 @@
- Gets and returns the associated with this
+ Gets and returns the associated with this
value.
- The associated with this value.
+ The associated with this value.
- Gets and returns the associated with
+ Gets and returns the associated with
this value.
- The associated with this value.
+ The associated with this value.
- Gets and returns the associated with this
+ Gets and returns the associated with this
value.
- The associated with this value.
+ The associated with this value.
- Gets and returns the associated with this
+ Gets and returns the associated with this
value.
- The associated with this value. The value is
+ The associated with this value. The value is
converted from the UTF-8 encoding prior to being returned.
- Gets and returns the array associated with this
+ Gets and returns the array associated with this
value.
- The array associated with this value.
+ The array associated with this value.
@@ -12167,6 +12157,27 @@
Non-zero if the native value was persisted successfully.
+
+
+ Returns the underlying SQLite native handle associated with this
+ object instance.
+
+
+
+
+ Returns non-zero if the native SQLite value has been successfully
+ persisted as a managed value within this object instance (i.e. the
+ property may then be read successfully).
+
+
+
+
+ If the managed value for this object instance is available (i.e. it
+ has been previously persisted via the ) method,
+ that value is returned; otherwise, an exception is thrown. The
+ returned value may be null.
+
+
These are the allowed values for the operators that are part of a
@@ -12222,7 +12233,7 @@
These are the allowed values for the index flags from the
- method.
+ method.
@@ -12260,13 +12271,13 @@
Column on left-hand side of constraint.
- Constraint operator ().
+ Constraint operator ().
True if this constraint is usable.
- Used internally -
+ Used internally -
should ignore.
@@ -12277,7 +12288,7 @@
- Constraint operator ().
+ Constraint operator ().
@@ -12287,7 +12298,7 @@
- Used internally -
+ Used internally -
should ignore.
@@ -12373,7 +12384,7 @@
This class represents the various inputs provided by the SQLite core
- library to the method.
+ library to the method.
@@ -12381,30 +12392,30 @@
Constructs an instance of this class.
- The number of instances to
+ The number of instances to
pre-allocate space for.
- The number of instances to
+ The number of instances to
pre-allocate space for.
- An array of object instances,
+ An array of object instances,
each containing information supplied by the SQLite core library.
- An array of object instances,
+ An array of object instances,
each containing information supplied by the SQLite core library.
This class represents the various outputs provided to the SQLite core
- library by the method.
+ library by the method.
@@ -12412,7 +12423,7 @@
Constructs an instance of this class.
- The number of instances
+ The number of instances
to pre-allocate space for.
@@ -12422,7 +12433,7 @@
the available version of the SQLite core library.
- Non-zero if the property is supported
+ Non-zero if the property is supported
by the SQLite core library.
@@ -12432,7 +12443,7 @@
available version of the SQLite core library.
- Non-zero if the property is supported by
+ Non-zero if the property is supported by
the SQLite core library.
@@ -12442,13 +12453,13 @@
available version of the SQLite core library.
- Non-zero if the property is supported by
+ Non-zero if the property is supported by
the SQLite core library.
- An array of object
+ An array of object
instances, each containing information to be supplied to the SQLite
core library.
@@ -12456,14 +12467,14 @@
Number used to help identify the selected index. This value will
- later be provided to the
+ later be provided to the
method.
String used to help identify the selected index. This value will
- later be provided to the
+ later be provided to the
method.
@@ -12526,7 +12537,7 @@
This class represents the various inputs and outputs used with the
- method.
+ method.
@@ -12534,12 +12545,12 @@
Constructs an instance of this class.
- The number of (and
- ) instances to
+ The number of (and
+ ) instances to
pre-allocate space for.
- The number of instances to
+ The number of instances to
pre-allocate space for.
@@ -12547,54 +12558,54 @@
Attempts to determine the structure sizes needed to create and
populate a native
-
+
structure.
The size of the native
-
+
structure is stored here.
The size of the native
-
+
structure is stored here.
The size of the native
-
+
structure is stored here.
The size of the native
-
+
structure is stored here.
Attempts to allocate and initialize a native
-
+
structure.
- The number of instances to
+ The number of instances to
pre-allocate space for.
- The number of instances to
+ The number of instances to
pre-allocate space for.
The newly allocated native
- structure
- -OR- if it could not be fully allocated.
+ structure
+ -OR- if it could not be fully allocated.
Frees all the memory associated with a native
-
+
structure.
@@ -12605,7 +12616,7 @@
Converts a native pointer to a native sqlite3_index_info structure
- into a new object instance.
+ into a new object instance.
The native pointer to the native sqlite3_index_info structure to
@@ -12617,17 +12628,17 @@
Upon success, this parameter will be modified to contain the newly
- created object instance.
+ created object instance.
Populates the outputs of a pre-allocated native sqlite3_index_info
- structure using an existing object
+ structure using an existing object
instance.
- The existing object instance containing
+ The existing object instance containing
the output data to use.
@@ -12641,15 +12652,15 @@
- The object instance containing
- the inputs to the
+ The object instance containing
+ the inputs to the
method.
- The object instance containing
- the outputs from the
+ The object instance containing
+ the outputs from the
method.
@@ -12663,24 +12674,24 @@
The index within the array of strings provided to the
- and
- methods containing the
+ and
+ methods containing the
name of the module implementing this virtual table.
The index within the array of strings provided to the
- and
- methods containing the
+ and
+ methods containing the
name of the database containing this virtual table.
The index within the array of strings provided to the
- and
- methods containing the
+ and
+ methods containing the
name of the virtual table.
@@ -12690,48 +12701,19 @@
The original array of strings provided to the
- and
- methods.
+ and
+ methods.
-
-
- The original array of strings provided to the
- and
- methods.
-
-
-
-
- The name of the module implementing this virtual table.
-
-
-
-
- The name of the database containing this virtual table.
-
-
-
-
- The name of the virtual table.
-
-
-
-
- The object instance containing all the
- data for the inputs and outputs relating to the most recent index
- selection.
-
-
This method should normally be used by the
- method in order to
+ method in order to
perform index selection based on the constraints provided by the
SQLite core library.
- The object instance containing all the
+ The object instance containing all the
data for the inputs and outputs relating to index selection.
@@ -12750,12 +12732,6 @@
Non-zero upon success.
-
-
- Returns the underlying SQLite native handle associated with this
- object instance.
-
-
Disposes of this object instance.
@@ -12763,7 +12739,7 @@
- Throws an if this object
+ Throws an if this object
instance has been disposed.
@@ -12773,7 +12749,7 @@
Non-zero if this method is being called from the
- method. Zero if this method is being called
+ method. Zero if this method is being called
from the finalizer.
@@ -12782,82 +12758,92 @@
Finalizes this object instance.
-
+
- This class represents a managed virtual table cursor implementation.
- It is not sealed and should be used as the base class for any
- user-defined virtual table cursor classes implemented in managed code.
+ The original array of strings provided to the
+ and
+ methods.
-
+
- This value represents an invalid integer row sequence number.
+ The name of the module implementing this virtual table.
-
+
- The field holds the integer row sequence number for the current row
- pointed to by this cursor object instance.
+ The name of the database containing this virtual table.
-
+
- Constructs an instance of this class.
+ The name of the virtual table.
-
- The object instance associated
- with this object instance.
-
-
+
- Constructs an instance of this class.
+ The object instance containing all the
+ data for the inputs and outputs relating to the most recent index
+ selection.
-
+
- The object instance associated
- with this object instance.
+ Returns the underlying SQLite native handle associated with this
+ object instance.
-
+
- Number used to help identify the selected index. This value will
- be set via the method.
+ This class represents a managed virtual table cursor implementation.
+ It is not sealed and should be used as the base class for any
+ user-defined virtual table cursor classes implemented in managed code.
+
+
+
+
+ This value represents an invalid integer row sequence number.
+
+
+
+
+ The field holds the integer row sequence number for the current row
+ pointed to by this cursor object instance.
-
+
- String used to help identify the selected index. This value will
- be set via the method.
+ Constructs an instance of this class.
+
+ The object instance associated
+ with this object instance.
+
-
+
- The values used to filter the rows returned via this cursor object
- instance. This value will be set via the
- method.
+ Constructs an instance of this class.
- Attempts to persist the specified object
+ Attempts to persist the specified object
instances in order to make them available after the
- method returns.
+ method returns.
- The array of object instances to be
+ The array of object instances to be
persisted.
- The number of object instances that were
+ The number of object instances that were
successfully persisted.
This method should normally be used by the
- method in order to
+ method in order to
perform filtering of the result rows and/or to record the filtering
criteria provided by the SQLite core library.
@@ -12886,12 +12872,6 @@
next row.
-
-
- Returns the underlying SQLite native handle associated with this
- object instance.
-
-
Disposes of this object instance.
@@ -12899,7 +12879,7 @@
- Throws an if this object
+ Throws an if this object
instance has been disposed.
@@ -12909,7 +12889,7 @@
Non-zero if this method is being called from the
- method. Zero if this method is being called
+ method. Zero if this method is being called
from the finalizer.
@@ -12918,42 +12898,50 @@
Finalizes this object instance.
-
+
- This interface represents a native handle provided by the SQLite core
- library.
+ The object instance associated
+ with this object instance.
-
+
- The native handle value.
+ Number used to help identify the selected index. This value will
+ be set via the method.
-
+
- This interface represents a virtual table implementation written in
- managed code.
+ String used to help identify the selected index. This value will
+ be set via the method.
-
+
- Returns non-zero if the schema for the virtual table has been
- declared.
+ The values used to filter the rows returned via this cursor object
+ instance. This value will be set via the
+ method.
-
+
- Returns the name of the module as it was registered with the SQLite
- core library.
+ Returns the underlying SQLite native handle associated with this
+ object instance.
+
+
+
+
+ This interface represents a virtual table implementation written in
+ managed code.
This method is called in response to the
- method.
+ method.
- The object instance associated with
+ The object instance associated with
the virtual table.
@@ -12967,7 +12955,7 @@
Upon success, this parameter must be modified to contain the
- object instance associated with
+ object instance associated with
the virtual table.
@@ -12981,10 +12969,10 @@
This method is called in response to the
- method.
+ method.
- The object instance associated with
+ The object instance associated with
the virtual table.
@@ -12998,7 +12986,7 @@
Upon success, this parameter must be modified to contain the
- object instance associated with
+ object instance associated with
the virtual table.
@@ -13012,14 +13000,14 @@
This method is called in response to the
- method.
+ method.
- The object instance associated
+ The object instance associated
with this virtual table.
- The object instance containing all the
+ The object instance containing all the
data for the inputs and outputs relating to index selection.
@@ -13029,10 +13017,10 @@