Index: System.Data.SQLite/SQLiteConnection.cs ================================================================== --- System.Data.SQLite/SQLiteConnection.cs +++ System.Data.SQLite/SQLiteConnection.cs @@ -63,11 +63,11 @@ /// Some base data classes in the framework (e.g. those that build SQL queries dynamically) /// assume that an ADO.NET provider cannot support an alternate catalog (i.e. database) without supporting /// alternate schemas as well; however, SQLite does not fit into this model. Therefore, this value is used /// as a placeholder and removed prior to preparing any SQL statements that may contain it. /// N - /// sqlite_schema_stub + /// sqlite_default_schema /// /// /// BinaryGUID /// True - Store GUID columns in binary form
False - Store GUID columns as text
/// N @@ -168,13 +168,15 @@ public sealed partial class SQLiteConnection : DbConnection, ICloneable { /// /// The default "stub" (i.e. placeholder) base schema name to use when /// returning column schema information. Used as the initial value of - /// the BaseSchemaName property. + /// the BaseSchemaName property. This should start with "sqlite_*" + /// because those names are reserved for use by SQLite (i.e. they cannot + /// be confused with the names of user objects). /// - private const string DefaultBaseSchemaName = "sqlite_schema_stub"; + private const string DefaultBaseSchemaName = "sqlite_default_schema"; private const int SQLITE_FCNTL_WIN32_AV_RETRY = 9; private const string _dataDirectory = "|DataDirectory|"; private const string _masterdb = "sqlite_master";