Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / QueryCache / QueryCacheEntry.cs / 1305376 / QueryCacheEntry.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.Data.Common; using System.Diagnostics; ////// Represents the abstract base class for all cache entry values in the query cache /// internal abstract class QueryCacheEntry { #region Fields ////// querycachekey for this entry /// readonly private QueryCacheKey _queryCacheKey; ////// strong reference to the target object /// readonly protected object _target; #endregion #region Constructors ////// cache entry constructor /// /// /// protected QueryCacheEntry( QueryCacheKey queryCacheKey, object target ) { _queryCacheKey = queryCacheKey; _target = target; } #endregion #region Methods and Properties ////// returns the target dbcommand as strong type /// ///internal virtual object GetTarget() { return _target; } /// /// Returns the query cache key /// internal QueryCacheKey QueryCacheKey { get { return _queryCacheKey; } } #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
- BinaryObjectInfo.cs
- CodeGenHelper.cs
- ControlCollection.cs
- EditingScopeUndoUnit.cs
- FontCacheUtil.cs
- CodeDomLocalizationProvider.cs
- StringAnimationUsingKeyFrames.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- OracleColumn.cs
- ManagedWndProcTracker.cs
- FormsAuthenticationTicket.cs
- MobileTextWriter.cs
- MetricEntry.cs
- HostingEnvironmentSection.cs
- EntityDataSourceMemberPath.cs
- DataGridTable.cs
- DocumentReferenceCollection.cs
- dataprotectionpermissionattribute.cs
- ProcessHostConfigUtils.cs
- DBConnection.cs
- XsdDuration.cs
- BamlRecords.cs
- DiscoveryDocumentReference.cs
- EventLog.cs
- PrintPreviewControl.cs
- PropertyStore.cs
- WebPartEditorApplyVerb.cs
- Roles.cs
- DispatcherFrame.cs
- Viewport2DVisual3D.cs
- BindingOperations.cs
- ToolStripSeparator.cs
- AppModelKnownContentFactory.cs
- ControlType.cs
- PrintingPermissionAttribute.cs
- ICspAsymmetricAlgorithm.cs
- ContextQuery.cs
- BufferModesCollection.cs
- COMException.cs
- FrameDimension.cs
- TdsRecordBufferSetter.cs
- PolicyException.cs
- KeyFrames.cs
- TextUtf8RawTextWriter.cs
- XamlPathDataSerializer.cs
- FormView.cs
- TextTreeText.cs
- SafeWaitHandle.cs
- GridViewColumnHeaderAutomationPeer.cs
- CachedFontFamily.cs
- CatchBlock.cs
- FamilyTypeface.cs
- HtmlHead.cs
- SQLBinary.cs
- InternalEnumValidator.cs
- ClientBase.cs
- TextFormatter.cs
- DBDataPermissionAttribute.cs
- SHA384.cs
- CollectionsUtil.cs
- XmlHelper.cs
- SocketAddress.cs
- BrowserDefinitionCollection.cs
- XmlNamespaceMapping.cs
- OverlappedAsyncResult.cs
- FixedMaxHeap.cs
- WebPartZoneBase.cs
- RadioButtonFlatAdapter.cs
- Source.cs
- CallTemplateAction.cs
- SearchExpression.cs
- URL.cs
- SafeEventLogWriteHandle.cs
- TemplatingOptionsDialog.cs
- ObjectConverter.cs
- WebProxyScriptElement.cs
- ILGenerator.cs
- UmAlQuraCalendar.cs
- DictationGrammar.cs
- PartManifestEntry.cs
- ComplexBindingPropertiesAttribute.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Setter.cs
- WebPartVerb.cs
- SafeNativeMethods.cs
- ComPlusDiagnosticTraceSchemas.cs
- MessageAction.cs
- SoapFault.cs
- AutomationFocusChangedEventArgs.cs
- WindowsRebar.cs
- Vector3DAnimationUsingKeyFrames.cs
- CodeTypeDeclaration.cs
- FixedFlowMap.cs
- XmlUtil.cs
- FrameworkObject.cs
- _ServiceNameStore.cs
- TableProviderWrapper.cs
- DbgCompiler.cs
- SystemSounds.cs
- TextCharacters.cs