Exemplo n.º 1
0
 internal override void Open(string strFilename, SqliteOpenFlagsEnum flags, int maxPoolSize, bool usePool)
 {
     if (usePool)
     {
         throw new NotImplementedException("The 'usePool' option is not implemented.");
     }
     //Not really anything to do with SQLitePCL to open the database.
     _isOpen = true;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Opens a database.
 /// </summary>
 /// <remarks>
 /// 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.
 /// </remarks>
 /// <param name="strFilename">The filename of the database to open.  SQLite automatically creates it if it doesn't exist.</param>
 /// <param name="flags">The open flags to use when creating the connection</param>
 /// <param name="maxPoolSize">The maximum size of the pool for the given filename</param>
 /// <param name="usePool">If true, the connection can be pulled from the connection pool</param>
 internal abstract void Open(string strFilename, SqliteOpenFlagsEnum flags, int maxPoolSize, bool usePool);
 internal override void Open(string strFilename, SqliteOpenFlagsEnum flags, int maxPoolSize, bool usePool) {
     if (usePool) throw new NotImplementedException("The 'usePool' option is not implemented.");
     //Not really anything to do with SQLitePCL to open the database.
     _isOpen = true;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Opens a database.
 /// </summary>
 /// <remarks>
 /// 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.
 /// </remarks>
 /// <param name="strFilename">The filename of the database to open.  SQLite automatically creates it if it doesn't exist.</param>
 /// <param name="flags">The open flags to use when creating the connection</param>
 /// <param name="maxPoolSize">The maximum size of the pool for the given filename</param>
 /// <param name="usePool">If true, the connection can be pulled from the connection pool</param>
 internal abstract void Open(string strFilename, SqliteOpenFlagsEnum flags, int maxPoolSize, bool usePool);