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
- JsonWriterDelegator.cs
- TextRange.cs
- TraceSection.cs
- SerializationHelper.cs
- TimeSpanOrInfiniteConverter.cs
- XPathParser.cs
- OperatorExpressions.cs
- DateRangeEvent.cs
- StoreItemCollection.Loader.cs
- LoginView.cs
- PostBackTrigger.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- Material.cs
- HMACRIPEMD160.cs
- MouseEventArgs.cs
- AttributedMetaModel.cs
- PowerStatus.cs
- ErrorHandlerModule.cs
- EntityDataSourceViewSchema.cs
- IndexerNameAttribute.cs
- SqlConnectionFactory.cs
- CodeTypeDeclaration.cs
- KoreanLunisolarCalendar.cs
- SchemaImporterExtensionsSection.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- AmbientLight.cs
- WebPartDisplayModeCollection.cs
- controlskin.cs
- XsdValidatingReader.cs
- ConfigurationManagerInternalFactory.cs
- IndexOutOfRangeException.cs
- COM2IManagedPerPropertyBrowsingHandler.cs
- PrtCap_Reader.cs
- PassportAuthentication.cs
- PerformanceCounterPermission.cs
- WizardDesigner.cs
- ReferenceAssemblyAttribute.cs
- Binding.cs
- ValueUnavailableException.cs
- GeneratedCodeAttribute.cs
- QilTypeChecker.cs
- XslCompiledTransform.cs
- TextBox.cs
- hresults.cs
- ResourceExpression.cs
- RuleInfoComparer.cs
- Menu.cs
- XmlParserContext.cs
- LoginUtil.cs
- TypeSystemProvider.cs
- XmlStreamNodeWriter.cs
- SQLStringStorage.cs
- DrawingAttributes.cs
- MinMaxParagraphWidth.cs
- TripleDESCryptoServiceProvider.cs
- ConnectionPoint.cs
- EventProviderClassic.cs
- TypeResolver.cs
- ExtendedPropertyDescriptor.cs
- ToolStripDropDownItem.cs
- BrowsableAttribute.cs
- SuppressIldasmAttribute.cs
- DataListItem.cs
- Part.cs
- MdiWindowListItemConverter.cs
- AutomationFocusChangedEventArgs.cs
- SortAction.cs
- ServiceModelInstallComponent.cs
- SecurityTokenAuthenticator.cs
- PreviousTrackingServiceAttribute.cs
- HttpModuleAction.cs
- StorageEntityContainerMapping.cs
- WindowHideOrCloseTracker.cs
- UnsafeNativeMethods.cs
- NetMsmqBinding.cs
- XmlName.cs
- DrawingGroup.cs
- TransformerInfoCollection.cs
- StringBuilder.cs
- Perspective.cs
- XPathDocumentBuilder.cs
- ClientBuildManagerCallback.cs
- WebPartTransformerCollection.cs
- DbExpressionRules.cs
- PriorityItem.cs
- TextAnchor.cs
- X509RawDataKeyIdentifierClause.cs
- OracleTransaction.cs
- ConnectivityStatus.cs
- ECDsaCng.cs
- FileDialog.cs
- DataMemberListEditor.cs
- NetMsmqSecurity.cs
- MaskedTextBoxDesignerActionList.cs
- Misc.cs
- Timer.cs
- Vector3DCollectionConverter.cs
- ResourcePermissionBaseEntry.cs
- SerTrace.cs
- GroupJoinQueryOperator.cs