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
- BindingBase.cs
- SoapIncludeAttribute.cs
- CodeSnippetTypeMember.cs
- ServiceDescriptionReflector.cs
- SafeRightsManagementSessionHandle.cs
- NTAccount.cs
- QueuePathDialog.cs
- Rule.cs
- IEnumerable.cs
- ProxyAttribute.cs
- SQLBytes.cs
- Adorner.cs
- ManifestSignedXml.cs
- SizeLimitedCache.cs
- ThemeDictionaryExtension.cs
- ClientSideQueueItem.cs
- NonVisualControlAttribute.cs
- HtmlDocument.cs
- InstanceOwner.cs
- LocationUpdates.cs
- SymLanguageType.cs
- XmlSchemaSimpleContent.cs
- RelatedCurrencyManager.cs
- WebPartCollection.cs
- SqlGatherConsumedAliases.cs
- ValueChangedEventManager.cs
- DataGridViewRowCollection.cs
- PageParserFilter.cs
- SQLGuid.cs
- WebPartExportVerb.cs
- OrCondition.cs
- Math.cs
- SurrogateEncoder.cs
- MonitoringDescriptionAttribute.cs
- WebControl.cs
- Matrix3DConverter.cs
- TargetInvocationException.cs
- UnsafeNativeMethods.cs
- QuaternionConverter.cs
- ControlIdConverter.cs
- EntitySqlQueryBuilder.cs
- DataMisalignedException.cs
- TreeNodeCollection.cs
- RichTextBoxDesigner.cs
- SecurityCriticalDataForSet.cs
- ThreadWorkerController.cs
- Message.cs
- DBConnection.cs
- SmiConnection.cs
- TabletCollection.cs
- DragEvent.cs
- RegexRunner.cs
- MemoryMappedFile.cs
- ExceptionDetail.cs
- ReaderOutput.cs
- InternalPermissions.cs
- KnownBoxes.cs
- SettingsPropertyCollection.cs
- FramingChannels.cs
- XmlSerializationGeneratedCode.cs
- ParentControlDesigner.cs
- BatchStream.cs
- XMLSchema.cs
- DateTimeFormatInfo.cs
- BoundingRectTracker.cs
- OleDbConnectionFactory.cs
- NegationPusher.cs
- BindingExpressionUncommonField.cs
- PathParser.cs
- MexHttpsBindingElement.cs
- DeviceContext.cs
- ConfigUtil.cs
- GridViewDeletedEventArgs.cs
- PropertyTabAttribute.cs
- TemplateXamlParser.cs
- JsonWriterDelegator.cs
- AssemblyBuilderData.cs
- ListParagraph.cs
- OleDbSchemaGuid.cs
- ShaperBuffers.cs
- TraceLog.cs
- SingleAnimationUsingKeyFrames.cs
- AsyncCompletedEventArgs.cs
- ApplicationInfo.cs
- AsymmetricAlgorithm.cs
- CatalogPartCollection.cs
- ValueConversionAttribute.cs
- StatusBarAutomationPeer.cs
- XmlQueryCardinality.cs
- ValidatorCompatibilityHelper.cs
- PackagePart.cs
- AssemblyInfo.cs
- MediaScriptCommandRoutedEventArgs.cs
- PlatformCulture.cs
- ClaimTypeRequirement.cs
- MessageQueueKey.cs
- ComplexTypeEmitter.cs
- AnonymousIdentificationModule.cs
- ForeignKeyConstraint.cs
- DataGridViewIntLinkedList.cs