1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 08:15:27 +00:00
Sonarr/NzbDrone.Web/App_Start/EntityFramework.SqlServerCompact.cs
2011-11-23 21:50:41 -08:00

12 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");
}
}
}