Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Common / QueryCache / EntitySqlQueryCacheEntry.cs / 1 / EntitySqlQueryCacheEntry.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....], [....]
//-----------------------------------------------------------------------------
namespace System.Data.Common.QueryCache
{
using System;
using System.Data.Objects.Internal;
///
/// Represents an Entity-SQL ObjectQuery cache entry
///
internal sealed class EntitySqlQueryCacheEntry : QueryCacheEntry
{
///
/// A strongly-typed reference to the execution plan
///
private readonly ObjectQueryExecutionPlan _plan;
#region Constructors
///
/// constructor
///
/// The cache key that targets this cache entry
///An that describes the cached query
internal EntitySqlQueryCacheEntry(QueryCacheKey queryCacheKey, ObjectQueryExecutionPlan plan)
: base(queryCacheKey, plan)
{
_plan = plan;
}
#endregion
#region Methods/Properties
internal ObjectQueryExecutionPlan ExecutionPlan { get { return _plan; } }
#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.Data.Objects.Internal;
///
/// Represents an Entity-SQL ObjectQuery cache entry
///
internal sealed class EntitySqlQueryCacheEntry : QueryCacheEntry
{
///
/// A strongly-typed reference to the execution plan
///
private readonly ObjectQueryExecutionPlan _plan;
#region Constructors
///
/// constructor
///
/// The cache key that targets this cache entry
///An that describes the cached query
internal EntitySqlQueryCacheEntry(QueryCacheKey queryCacheKey, ObjectQueryExecutionPlan plan)
: base(queryCacheKey, plan)
{
_plan = plan;
}
#endregion
#region Methods/Properties
internal ObjectQueryExecutionPlan ExecutionPlan { get { return _plan; } }
#endregion
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LogoValidationException.cs
- MetaType.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Dispatcher.cs
- Select.cs
- ControlLocalizer.cs
- Query.cs
- ObjectConverter.cs
- OdbcCommandBuilder.cs
- DynamicControlParameter.cs
- DoubleStorage.cs
- SecurityElement.cs
- DocumentApplicationJournalEntry.cs
- IntranetCredentialPolicy.cs
- TemplateKeyConverter.cs
- EncryptedData.cs
- GeneralTransform2DTo3DTo2D.cs
- SqlDeflator.cs
- Application.cs
- X509SecurityTokenProvider.cs
- TransformerTypeCollection.cs
- CompressStream.cs
- HttpServerVarsCollection.cs
- SqlClientPermission.cs
- DebuggerService.cs
- WebResponse.cs
- TheQuery.cs
- LockedAssemblyCache.cs
- LinearQuaternionKeyFrame.cs
- NavigatorInvalidBodyAccessException.cs
- AttachmentCollection.cs
- TextReader.cs
- TemplateXamlParser.cs
- ContainsRowNumberChecker.cs
- ChannelReliableSession.cs
- ProxyWebPartManager.cs
- GlobalizationAssembly.cs
- TextInfo.cs
- TemplateBindingExpression.cs
- ProxyAttribute.cs
- NonParentingControl.cs
- SystemDropShadowChrome.cs
- EqualityComparer.cs
- DBSchemaTable.cs
- PersonalizationStateQuery.cs
- DataServiceQueryException.cs
- XmlSchemaElement.cs
- ToolBar.cs
- CodeFieldReferenceExpression.cs
- RtType.cs
- XmlRawWriterWrapper.cs
- ScriptingJsonSerializationSection.cs
- MimeAnyImporter.cs
- HealthMonitoringSection.cs
- TextSpanModifier.cs
- ListViewAutomationPeer.cs
- SafeNativeMemoryHandle.cs
- DrawTreeNodeEventArgs.cs
- ArrangedElementCollection.cs
- Int32Collection.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ICspAsymmetricAlgorithm.cs
- Vector3DConverter.cs
- Char.cs
- SecurityTimestamp.cs
- ISAPIApplicationHost.cs
- TypeForwardedToAttribute.cs
- IssuedTokenClientCredential.cs
- EntityTypeEmitter.cs
- XamlFxTrace.cs
- OlePropertyStructs.cs
- WebProxyScriptElement.cs
- UnsafeNativeMethods.cs
- ListViewItem.cs
- BitFlagsGenerator.cs
- XmlQualifiedName.cs
- ConfigurationManagerInternal.cs
- TableHeaderCell.cs
- ConnectorRouter.cs
- InstanceData.cs
- HttpModuleCollection.cs
- Util.cs
- ReadOnlyDictionary.cs
- SemaphoreSecurity.cs
- UserControlDesigner.cs
- HtmlInputControl.cs
- NavigationPropertyEmitter.cs
- CompositionAdorner.cs
- TreeViewTemplateSelector.cs
- CharacterShapingProperties.cs
- StylusDevice.cs
- Enlistment.cs
- TreeViewImageKeyConverter.cs
- ActivityLocationReferenceEnvironment.cs
- Stream.cs
- Comparer.cs
- HeaderUtility.cs
- SiteMapHierarchicalDataSourceView.cs
- NavigationService.cs
- HtmlToClrEventProxy.cs