You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
456 B
13 lines
456 B
13 years ago
|
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");
|
||
|
}
|
||
|
}
|
||
|
}
|