title: Is it possible to create an In-memory database using SQLite.Net-PCL?
body: <p>Currently I am working on unit tests for a Xamarin MvvmCross Application using  SQLite.Net-PCL 3.1.1. The unit test project is a normal .NET project.</p>
  
  <p>So now I am mocking the <code>MvxSqliteConnectionFactoryBase</code></p>
  
  <pre><code>public class MockMvxSqliteConnectionFactoryBase :  MvxSqliteConnectionFactoryBase
  {
      #region implemented abstract members of MvxSqliteConnectionFactoryBase
  
      public override string GetPlattformDatabasePath(string databaseName)
      {
          return "Data Source=:memory:";
      }
  
      public override ISQLitePlatform GetCurrentPlatform()
      {
          return new SQLite.Net.Platform.Generic.SQLitePlatformGeneric(); 
      }
      public override ISQLitePlatform GetCurrentPlatform(string key)
      {
          return new  SQLite.Net.Platform.Generic.SQLitePlatformGeneric();
      }
  
      #endregion
  }
  </code></pre>
  
  <p>But the database is not created in memory rather than in the <code>bin</code> folder of the project.</p>
  
  <p>I tried to initialize <code>SQLiteConnection</code> like this <a href="https://stackoverflow.com/questions/9173485/how-can-i-create-an-in-memory-sqlite-database">example</a> but there is not a constructor that accepts only one string.</p>