|
using System;
using System.Web.SessionState;
namespace BooProd.Core
{
/// <summary>
/// 2004-12-06 / CB => Creation
/// </summary>
public class ExecTemplate
{
/// <summary>
/// XML File associated with this ExeContext
/// </summary>
private const string XML_FILE= "BooProd.Core.ConfigFiles.ExecTemplate.xml";
/// <summary>
/// DB Referential
/// </summary>
public static ExeDB DB_BOOPROD { get { return ExeContext.DB("BOOPROD"); }}
/// <summary>
/// DB Referential
/// </summary>
public static ExeWebSite WS_CODEPROJECT { get { return ExeContext.WebSite("CODEPROJECT"); }}
/// <summary>
/// Initialize the ExeContext, using the file inside this assembly.
/// </summary>
public static void autoInit() {
ExeContext.initFromExecutingAssembly(XML_FILE);
}
public static void autoInit(HttpSessionState pSession) {
ExeContext.initFromExecutingAssembly(XML_FILE, pSession);
}
public static void refresh(HttpSessionState pSession) {
ExeContext.initFromSession(pSession);
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
I work on a leading European telecom provider regarding on-line real time account management for B2B and B2C customers. Before this position, I worked in one of the leading European council providers of economic forecasts analyses.
I jump into software development in 1985 and never stop! I work with a lot of systems like Apple, NeXT, Unix, Windows. I develop with a lot of languages like Assembler, Pascal, C, C++, Java and C#. I play with databases like Oracle and SQL Server. I love networks and like to make systems working and cooperate themselves.
I'm very interested in MAS: Multi Agent System and really hope that computer will be human in the future. I work on BDI architecture extensions on this purpose, but this is the project of my life!