public ListItemCollection GetYear()
{
EDIFramework.Providers.DataProvider.PurchaseHeaderProvider u = EDIFramework.Providers.DataProvider.PurchaseHeaderProvider.Instance();
ListItemCollection list = EDICache.Get(_cacheKey + "All") as ListItemCollection;
if (list == null)
{
if (_connectionString.Trim() != "")
{
u.ConnectionString = _connectionString;
}
list = u.GetYear();
if (Globals.Settings.Site.EnableCaching)
EDICache.Insert(_cacheKey + "All", list, Globals.Settings.Site.CachDuration);
}