EntityClientCacheEntry.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Common / QueryCache / EntityClientCacheEntry.cs / 1 / EntityClientCacheEntry.cs

                            //------------------------------------------------------------------------------ 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// 
// @owner [....], [....]
//----------------------------------------------------------------------------- 
 
namespace System.Data.Common.QueryCache
{ 
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Diagnostics; 
    using System.Data.EntityClient;
 
 
    /// 
    /// represents a entitycommand cache entry 
    /// 
    internal sealed class EntityClientCacheEntry : QueryCacheEntry
    {
        #region Constructors 
        /// 
        /// constructor 
        ///  
        /// 
        /// 
        internal EntityClientCacheEntry( QueryCacheKey queryCacheKey, EntityCommandDefinition target )
            : base(queryCacheKey, target)
        {
        } 
        #endregion
 
        #region Methods/Properties 
        /// 
        /// returns target EntityCommandDefinition 
        /// 
        /// 
        internal new EntityCommandDefinition GetTarget()
        { 
            return (EntityCommandDefinition)_target;
        } 
        #endregion 
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------ 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// 
// @owner [....], [....]
//----------------------------------------------------------------------------- 
 
namespace System.Data.Common.QueryCache
{ 
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Diagnostics; 
    using System.Data.EntityClient;
 
 
    /// 
    /// represents a entitycommand cache entry 
    /// 
    internal sealed class EntityClientCacheEntry : QueryCacheEntry
    {
        #region Constructors 
        /// 
        /// constructor 
        ///  
        /// 
        /// 
        internal EntityClientCacheEntry( QueryCacheKey queryCacheKey, EntityCommandDefinition target )
            : base(queryCacheKey, target)
        {
        } 
        #endregion
 
        #region Methods/Properties 
        /// 
        /// returns target EntityCommandDefinition 
        /// 
        /// 
        internal new EntityCommandDefinition GetTarget()
        { 
            return (EntityCommandDefinition)_target;
        } 
        #endregion 
    }
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK