|
|
Browse by Tags
All Tags » ObjectContainer » HttpContext (RSS)
-
Add a Global.asa file and in your Application.Initialize event, call objectServer = Db4o.OpenServer(Server.MapPath(''~/app_data/mydb.yap'')) and put it in a static variable. Then in your Application_BeginRequest, call db = objectServer.OpenClient() and add the result to HttpContext.Current.Items.Add(db);
|
|
|