diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index b0337ba3..79000714 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -13,9 +13,16 @@ using System.Text.RegularExpressions; namespace VEPROMS.CSLA.Library { + #region Item public partial class Item : IVEDrillDown { + // put in for debug + //public static int CacheCountPrimaryKey + //{ get { return _CacheByPrimaryKey.Count; } } + //public static int CacheCountList + //{ get { return _CacheList.Count; } } + public string DisplayNumber { get { return ItemInfo.ConvertToDisplayText(MyContent.Number); } @@ -290,6 +297,12 @@ namespace VEPROMS.CSLA.Library #region ItemInfo public partial class ItemInfo:IVEDrillDownReadOnly { + // put in for debugging + //public static int CacheCountPrimaryKey + //{ get { return _CacheByPrimaryKey.Count; } } + //public static int CacheCountList + //{ get { return _CacheList.Count; } } + //public override bool Equals(object obj) //{ // ItemInfo ii = obj as ItemInfo; diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ROFSTExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ROFSTExt.cs index c7875ca5..6b773e13 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ROFSTExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ROFSTExt.cs @@ -26,6 +26,14 @@ namespace VEPROMS.CSLA.Library { public partial class ROFst { + // put in for debug + //public static int CacheCountPrimaryKey + //{ get { return _CacheByPrimaryKey.Count; } } + //public static int CacheCountByRODbID_DTS + //{ get { return _CacheByRODbID_DTS.Count; } } + //public static int CacheCountList + //{ get { return _CacheList.Count; } } + [NonSerialized] private ROFSTLookup _ROFSTLookup; public ROFSTLookup ROFSTLookup @@ -120,7 +128,12 @@ namespace VEPROMS.CSLA.Library public delegate List ROFstInfoROTableUpdateEvent(object sender, ROFstInfoROTableUpdateEventArgs args); public partial class ROFstInfo { - #region Log4Net + // put in for debug + //public static int CacheCountPrimaryKey + //{ get { return _CacheByPrimaryKey.Count; } } + //public static int CacheCountList + //{ get { return _CacheList.Count; } } + #region Log4Net private static readonly log4net.ILog log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); #endregion #region PropertiesAndData diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ROImageExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ROImageExt.cs index a600e987..8e955b66 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ROImageExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ROImageExt.cs @@ -10,8 +10,24 @@ using Volian.Base.Library; namespace VEPROMS.CSLA.Library { + // put in for debug + //public partial class ROImage + //{ + // public static int CacheCountPrimaryKey + // { get { return _CacheByPrimaryKey.Count; } } + // public static int CacheCountByRODbID + // { get { return _CacheByRODbID_FileName_DTS.Count; } } + // public static int CacheCountList + // { get { return _CacheList.Count; } } + //} public partial class ROImageInfo { + // put in for debug + //public static int CacheCountPrimaryKey + //{ get { return _CacheByPrimaryKey.Count; } } + //public static int CacheCountList + //{ get { return _CacheList.Count; } } + public static ROImageInfo GetByROFstID_FileName(int rOFstID, string fileName) { //if (!CanGetObject())