protected void Application_Start() { var db = new OAContext(); if (!db.Database.Exists()) { db.Database.Create(); db.InitData(); db.InitTestData(); db.InitDebugData(); db.SaveChanges(); } AreaRegistration.RegisterAllAreas(); RegisterGlobalFilters(GlobalFilters.Filters); RegisterRoutes(RouteTable.Routes); BundleTable.Bundles.RegisterTemplateBundles(); }
public UploadFileService(OAContext db) : base(db) { }
public ProjectProcessService(OAContext db) : base(db) { }
public InboxService(OAContext db) : base(db) { }
public UserService(OAContext db) : base(db) { }
public CheckInService(OAContext db) : base(db) { }
public ArticleService(OAContext db) : base(db) { }
public LeaveProcessService(OAContext db) : base(db) { }