EntityClientCacheEntry.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / QueryCache / EntityClientCacheEntry.cs / 1305376 / EntityClientCacheEntry.cs

                            //------------------------------------------------------------------------------ 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// 
// @owner  [....]
// @backupOwner [....] 
//----------------------------------------------------------------------------- 

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  [....]
// @backupOwner [....] 
//----------------------------------------------------------------------------- 

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