Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataEntity / System / Data / Common / QueryCache / QueryCacheEntry.cs / 1 / QueryCacheEntry.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.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. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //----------------------------------------------------------------------------- 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
- TextWriter.cs
- FormCollection.cs
- HeaderedContentControl.cs
- ParagraphResult.cs
- XmlNodeList.cs
- TransformedBitmap.cs
- JsonClassDataContract.cs
- EventWaitHandle.cs
- RangeValueProviderWrapper.cs
- QuotedStringFormatReader.cs
- ClipboardProcessor.cs
- CircleHotSpot.cs
- WindowsPen.cs
- WorkflowPersistenceService.cs
- DataStorage.cs
- Decoder.cs
- VectorAnimationUsingKeyFrames.cs
- PropertyEntry.cs
- COM2ExtendedTypeConverter.cs
- SrgsSubset.cs
- FieldToken.cs
- HttpCookiesSection.cs
- Accessible.cs
- MetabaseSettings.cs
- CompositeCollectionView.cs
- Int32AnimationBase.cs
- MemoryResponseElement.cs
- MutexSecurity.cs
- SessionStateModule.cs
- WSTrustDec2005.cs
- UITypeEditor.cs
- HScrollProperties.cs
- XmlSignatureManifest.cs
- CodeSubDirectoriesCollection.cs
- SecureUICommand.cs
- ResourceExpressionBuilder.cs
- SelectionProcessor.cs
- ClosableStream.cs
- ContentDisposition.cs
- TextStore.cs
- TypedDataSourceCodeGenerator.cs
- MetadataArtifactLoaderCompositeResource.cs
- SqlMethodCallConverter.cs
- TreeNodeBinding.cs
- WorkerRequest.cs
- EditorPartCollection.cs
- QilBinary.cs
- VisualTarget.cs
- MouseGestureConverter.cs
- XsdDuration.cs
- CodeMethodInvokeExpression.cs
- DataBoundControl.cs
- ToolStripControlHost.cs
- CacheEntry.cs
- Application.cs
- CollectionChangeEventArgs.cs
- SequenceDesigner.cs
- TransformedBitmap.cs
- AudioSignalProblemOccurredEventArgs.cs
- PointCollectionConverter.cs
- Ports.cs
- MatrixAnimationUsingPath.cs
- OutputCacheModule.cs
- XPathDocument.cs
- OutputCacheProfileCollection.cs
- DownloadProgressEventArgs.cs
- Membership.cs
- Query.cs
- DeclarationUpdate.cs
- XmlCDATASection.cs
- KnownTypeAttribute.cs
- SelectionUIHandler.cs
- Config.cs
- DataList.cs
- IgnoreSectionHandler.cs
- RegexCompilationInfo.cs
- CodeDomConfigurationHandler.cs
- TransformerInfo.cs
- HostSecurityManager.cs
- ReservationNotFoundException.cs
- FixedDSBuilder.cs
- _UriTypeConverter.cs
- relpropertyhelper.cs
- LambdaCompiler.Generated.cs
- BCryptSafeHandles.cs
- TypeSchema.cs
- StaticSiteMapProvider.cs
- QilPatternVisitor.cs
- TabControl.cs
- elementinformation.cs
- COM2EnumConverter.cs
- URL.cs
- HitTestDrawingContextWalker.cs
- ManagedWndProcTracker.cs
- SelectedGridItemChangedEvent.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ActivityDesigner.cs
- DataGridTable.cs
- XmlBinaryWriterSession.cs
- MergePropertyDescriptor.cs