mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 20:44:00 +02:00
switched reflection strategy for marr to SimpleReflectionStrategy, should be more mono friendly.
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Data.SQLite;
|
using System.Data.SQLite;
|
||||||
using Marr.Data;
|
using Marr.Data;
|
||||||
|
using Marr.Data.Reflection;
|
||||||
using NzbDrone.Core.Datastore.Migration.Framework;
|
using NzbDrone.Core.Datastore.Migration.Framework;
|
||||||
|
|
||||||
|
|
||||||
@@ -34,6 +35,9 @@ namespace NzbDrone.Core.Datastore
|
|||||||
{
|
{
|
||||||
SqlMode = SqlModes.Text,
|
SqlMode = SqlModes.Text,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
MapRepository.Instance.ReflectionStrategy = new SimpleReflectionStrategy();
|
||||||
|
|
||||||
return new Database(dataMapper);
|
return new Database(dataMapper);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user