mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-14 06:52:36 +01:00
13 lines
450 B
C#
13 lines
450 B
C#
|
using System.Data.Entity;
|
||
|
using System.Data.Entity.Infrastructure;
|
||
|
|
||
|
[assembly: WebActivator.PreApplicationStartMethod(typeof(NzbDrone.Web.App_Start.EntityFramework_SqlServerCompact), "Start")]
|
||
|
|
||
|
namespace NzbDrone.Web.App_Start {
|
||
|
public static class EntityFramework_SqlServerCompact {
|
||
|
public static void Start() {
|
||
|
Database.DefaultConnectionFactory = new SqlCeConnectionFactory("System.Data.SqlServerCe.4.0");
|
||
|
}
|
||
|
}
|
||
|
}
|