|
|
Browse by Tags
All Tags » asp.net » ObjectContainer (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);
-
Nope, I can't get it to work :(
I need a global instance of ObjectContainer but I don't know where to put it.
/Henrik
|
|
|