Ejemplo n.º 1
0
 public static void Initialize()
 {
     //Database.Delete("VeloEventsManager");
     Database.SetInitializer(new MigrateDatabaseToLatestVersion <VeloEventsManagerDbContext, Configuration>());
     VeloEventsManagerDbContext.Create().Database.Initialize(true);
 }
Ejemplo n.º 2
0
		public AddEvent()
		{
			this.dbContext = new VeloEventsManagerDbContext();
		}
Ejemplo n.º 3
0
		protected void Page_Load(object sender, EventArgs e)
		{
			this.dbContext = new VeloEventsManagerDbContext();
		}
Ejemplo n.º 4
0
		public MyEvents()
		{
			this.dbContext = new VeloEventsManagerDbContext();
		}
Ejemplo n.º 5
0
 protected void Page_Load(object sender, EventArgs e)
 {
     master         = this.Master as Site;
     this.dbContext = new VeloEventsManagerDbContext();
 }
Ejemplo n.º 6
0
 protected void Page_Load(object sender, EventArgs e)
 {
     this.dbContext = new VeloEventsManagerDbContext();
 }
Ejemplo n.º 7
0
		protected void Page_Load(object sender, EventArgs e)
		{
			master = this.Master as Site;
			this.dbContext = new VeloEventsManagerDbContext();
		}