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
- HyperLinkField.cs
- ContextStack.cs
- RegexMatch.cs
- XamlStyleSerializer.cs
- AppearanceEditorPart.cs
- IssuanceLicense.cs
- LoadedEvent.cs
- NetTcpBinding.cs
- VectorKeyFrameCollection.cs
- FileSecurity.cs
- HandlerFactoryCache.cs
- ReceiveErrorHandling.cs
- ReferenceConverter.cs
- NotificationContext.cs
- SqlBulkCopyColumnMappingCollection.cs
- x509utils.cs
- ViewCellRelation.cs
- RequestCachePolicyConverter.cs
- Transform.cs
- HashCryptoHandle.cs
- ThreadStartException.cs
- DigitShape.cs
- HtmlMeta.cs
- GPRECT.cs
- EnlistmentTraceIdentifier.cs
- CodeMethodReturnStatement.cs
- LocalizabilityAttribute.cs
- ActivityBindForm.cs
- IriParsingElement.cs
- PageThemeCodeDomTreeGenerator.cs
- NotFiniteNumberException.cs
- CodeSnippetCompileUnit.cs
- FloaterBaseParaClient.cs
- XdrBuilder.cs
- DelegateBodyWriter.cs
- DrawingState.cs
- ServiceElementCollection.cs
- EdmConstants.cs
- SamlAttributeStatement.cs
- LogArchiveSnapshot.cs
- WebPartMinimizeVerb.cs
- OracleInfoMessageEventArgs.cs
- HtmlMeta.cs
- EndEvent.cs
- URI.cs
- PagedDataSource.cs
- CollectionConverter.cs
- EventSinkHelperWriter.cs
- InitializingNewItemEventArgs.cs
- CounterNameConverter.cs
- XmlFormatExtensionAttribute.cs
- TimelineGroup.cs
- PersistChildrenAttribute.cs
- SQLResource.cs
- ForeignKeyConstraint.cs
- MailDefinition.cs
- ServiceOperation.cs
- X509PeerCertificateAuthenticationElement.cs
- WebPartConnectionCollection.cs
- DictionaryContent.cs
- CriticalFinalizerObject.cs
- UIPropertyMetadata.cs
- XmlTextEncoder.cs
- ClassHandlersStore.cs
- ContextMenu.cs
- FtpWebResponse.cs
- DefaultProxySection.cs
- AlgoModule.cs
- EntitySetDataBindingList.cs
- OneOfTypeConst.cs
- TextTreeText.cs
- CodePageUtils.cs
- XpsPartBase.cs
- CodeSnippetExpression.cs
- AxisAngleRotation3D.cs
- SQLSingleStorage.cs
- SoapAttributes.cs
- CollectionBuilder.cs
- BaseProcessProtocolHandler.cs
- Polyline.cs
- SqlNodeTypeOperators.cs
- DrawingContext.cs
- GacUtil.cs
- XmlSignatureProperties.cs
- InputScopeConverter.cs
- ItemsPanelTemplate.cs
- _BasicClient.cs
- InvokeGenerator.cs
- PageWrapper.cs
- SynchronizedMessageSource.cs
- DeflateStream.cs
- WebPartVerb.cs
- PropertyEmitter.cs
- IUnknownConstantAttribute.cs
- PointAnimationUsingPath.cs
- AuthenticationServiceManager.cs
- RequestContext.cs
- XmlDocumentType.cs
- KeyEvent.cs
- SeekStoryboard.cs