88a21593da
Add EntityFramework
19 lines
471 B
C#
19 lines
471 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using LeafWeb.Core.DAL;
|
|
using Umbraco.Core;
|
|
|
|
namespace WebCms.App_Start
|
|
{
|
|
public class RegisterDataService : ApplicationEventHandler
|
|
{
|
|
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
|
|
{
|
|
DataService.RegisterInitializer();
|
|
|
|
base.ApplicationStarted(umbracoApplication, applicationContext);
|
|
}
|
|
}
|
|
} |