Esempio n. 1
0
        /// <summary>
        /// Invoked when disposing this instance.
        /// </summary>
        internal protected virtual void OnDispose()
        {
            try
            {
                if (_ElementInfo != null)
                {
                    _ElementInfo.Dispose();
                }
            }
            catch { }

            _Map         = null;
            _ElementInfo = null;
            _WriteRecord = null;
            _LoadEntity  = null;
        }
Esempio n. 2
0
        /// <summary>
        /// Invoked when disposing this instance.
        /// </summary>
        internal protected virtual void OnDispose()
        {
            try
            {
                if (_ElementInfo != null)
                {
                    _ElementInfo.Dispose();
                }
            }
            catch { }

            _Map            = null;
            _ElementInfo    = null;
            _CompleteMember = null;
            _Columns        = null;
            _LazyProperty   = null;
        }