1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-09-11 12:02:35 +02:00

switched reflection strategy for marr to SimpleReflectionStrategy, should be more mono friendly.

This commit is contained in:
Keivan Beigi 2013-04-01 16:55:09 -07:00
parent 0779ff63d4
commit 89e94bae01

View File

@ -1,6 +1,7 @@
using System;
using System.Data.SQLite;
using Marr.Data;
using Marr.Data.Reflection;
using NzbDrone.Core.Datastore.Migration.Framework;
@ -34,6 +35,9 @@ public IDatabase Create(string dbPath, MigrationType migrationType = MigrationTy
{
SqlMode = SqlModes.Text,
};
MapRepository.Instance.ReflectionStrategy = new SimpleReflectionStrategy();
return new Database(dataMapper);
}