| PersistentEndWebProdDatabaseConnection Method |
Closes the webprod database connection
Namespace:
AskiaCore
Assembly:
AskiaCore (in AskiaCore.dll) Version: 6.0.0-build000000000000000000000000000000000000000001
Syntax public static void EndWebProdDatabaseConnection()
Public Shared Sub EndWebProdDatabaseConnection
public:
static void EndWebProdDatabaseConnection()
Remarks
For .NET web project you may use the Global.asax to release the database connection
Examples Release the database connection in the Global.asax of the .NET web project
using AskiaCore;
namespace MyApp
{
public class Global : HttpApplication
{
protected void Application_End(object sender, EventArgs e)
{
Persistent.EndWebProdDatabaseConnection();
}
}
}
See Also