Exemple #1
0
        private static IDataLayer CreateSqliteMemoryLayer()
        {
            var sqliteConfiguration = new ExinServer.Data.Sqlite.SqliteDatabaseConfiguration("DataSource=:memory:");

            return(new ExinServer.Data.Sqlite.SqliteDataLayer(sqliteConfiguration));
        }
Exemple #2
0
        private static IDataLayer CreateSqliteLayer(string connectionString)
        {
            var sqliteConfiguration = new ExinServer.Data.Sqlite.SqliteDatabaseConfiguration(connectionString);

            return(new ExinServer.Data.Sqlite.SqliteDataLayer(sqliteConfiguration));
        }