Skip Navigation Links.

Northwind\Data\CacheManager.cs

D:\Temp3\TestProjects\CSADO.Net\Northwind\Data\CacheManager.cs
/*
 * This file was generated by ProCG version 2.0
 *
 * File name:	Northwind\Data\CacheManager.cs
 * Language:	C# - ADO.Net 
 * Database:	My Sql
 *
 * Copyright (c) 2002-2019 iGenXSoft.
 * For more information visit http://www.igenxsoft.com
 */


//ProCG Section 1_0_Using - Please do not edit this section, it will be overridden by ProCG next time code is generated; you may add code between sections.

using System;
//End ProCG Section 1_0_Using
using Northwind.General;

namespace Northwind.Data
{
	/// <summary>
	/// Summary description for CacheManager.
	/// </summary>
	public class CacheManager : CacheManagerBase 
	{
		//ProCG Section 3_0_Body - Please do not edit this section, it will be overridden by ProCG next time code is generated; you may add code between sections.

		//End ProCG Section 3_0_Body

		protected override void LoadParams()
		{
			string shortCompanyName = NorthwindGeneral.GetShortCompanyName();
			string minCacheElementsString = NorthwindGeneral.GetStringFromAppConfig("MinCacheElements");
			MinElements = Int32.Parse(minCacheElementsString);
			string maxCacheElementsString = NorthwindGeneral.GetStringFromAppConfig("MaxCacheElements");
			MaxElements = Int32.Parse(maxCacheElementsString);
			string timeToClearCacheString = NorthwindGeneral.GetStringFromAppConfig("TimeToClearCache");
			TimeToClearCache = Int32.Parse(timeToClearCacheString);
		}

		
//ProCG Section 999_0_EndOfClass - Please do not edit this section, it will be overridden by ProCG next time code is generated; you may add code between sections.

	}
}
//End ProCG Section 999_0_EndOfClass










  //      1713 ProCG uses this line - don't edit it