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

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

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