Beispiel #1
0
        public override bool IsKeyKnown(object key)
        {
            if (parentTransactionScope != null)
            {
                return(parentTransactionScope.IsKeyKnown(new KeyHolder(key)));
            }

            bool keyKnown = false;

            if (parentSimpleScope != null)
            {
                keyKnown = parentSimpleScope.IsKeyKnown(new KeyHolder(key));
            }

            return(keyKnown ? true : base.IsKeyKnown(key));
        }