mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
13 lines
456 B
ObjectPascal
13 lines
456 B
ObjectPascal
|
using System.Data.Entity;
|
||
|
using System.Data.Entity.Infrastructure;
|
||
|
|
||
|
[assembly: WebActivator.PreApplicationStartMethod(typeof($rootnamespace$.App_Start.EntityFramework_SqlServerCompact), "Start")]
|
||
|
|
||
|
namespace $rootnamespace$.App_Start {
|
||
|
public static class EntityFramework_SqlServerCompact {
|
||
|
public static void Start() {
|
||
|
Database.DefaultConnectionFactory = new SqlCeConnectionFactory("System.Data.SqlServerCe.4.0");
|
||
|
}
|
||
|
}
|
||
|
}
|