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
- WebResourceUtil.cs
- HMACSHA384.cs
- HttpApplication.cs
- TableDetailsRow.cs
- IdentitySection.cs
- DesignerView.xaml.cs
- dtdvalidator.cs
- Semaphore.cs
- ImportedNamespaceContextItem.cs
- EventMetadata.cs
- SendMailErrorEventArgs.cs
- HMACSHA1.cs
- PropertyChangeTracker.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- TrustManager.cs
- BooleanFacetDescriptionElement.cs
- XmlNodeWriter.cs
- PeerCollaborationPermission.cs
- SqlTypeConverter.cs
- SqlDataSourceCustomCommandEditor.cs
- DateTimeStorage.cs
- DataSourceHelper.cs
- RangeValidator.cs
- ComboBox.cs
- ExceptionHandler.cs
- OpenTypeCommon.cs
- CodeGenerator.cs
- ClientSideQueueItem.cs
- SignatureDescription.cs
- OutputCacheEntry.cs
- OpenFileDialog.cs
- ListenerConfig.cs
- XamlBrushSerializer.cs
- SQLGuid.cs
- XmlSerializerNamespaces.cs
- InfoCardX509Validator.cs
- ADMembershipUser.cs
- FieldAccessException.cs
- WriteableOnDemandStream.cs
- MemberDomainMap.cs
- DBConcurrencyException.cs
- ToolboxItemAttribute.cs
- HtmlPanelAdapter.cs
- HwndSource.cs
- DatagramAdapter.cs
- WrappedReader.cs
- MimeWriter.cs
- WeakEventTable.cs
- TransactionsSectionGroup.cs
- InfoCardTrace.cs
- LoginNameDesigner.cs
- MetaType.cs
- UIElement3D.cs
- CodeTypeDelegate.cs
- dbdatarecord.cs
- XmlHierarchyData.cs
- BevelBitmapEffect.cs
- Vector3D.cs
- SecureEnvironment.cs
- LineGeometry.cs
- ChangePasswordAutoFormat.cs
- WebPartCatalogCloseVerb.cs
- AcceleratedTokenProvider.cs
- ReferenceConverter.cs
- ComNativeDescriptor.cs
- _FtpDataStream.cs
- PeerChannelFactory.cs
- DrawTreeNodeEventArgs.cs
- Line.cs
- DataGridViewAdvancedBorderStyle.cs
- DeliveryStrategy.cs
- ProfileParameter.cs
- OrderedDictionaryStateHelper.cs
- BufferManager.cs
- HttpStreamXmlDictionaryWriter.cs
- Types.cs
- infer.cs
- XmlSchemaSimpleContent.cs
- DrawingContextDrawingContextWalker.cs
- HostedAspNetEnvironment.cs
- TextEditorDragDrop.cs
- BoolExpr.cs
- ClassHandlersStore.cs
- Itemizer.cs
- ToolTip.cs
- SafeLibraryHandle.cs
- XmlReaderSettings.cs
- StickyNoteContentControl.cs
- SoapElementAttribute.cs
- XsltConvert.cs
- Span.cs
- ExeContext.cs
- BamlLocalizableResource.cs
- WebPartDescription.cs
- InlineUIContainer.cs
- StateRuntime.cs
- TableColumn.cs
- EndpointDiscoveryBehavior.cs
- TaiwanCalendar.cs
- ToolStripMenuItemCodeDomSerializer.cs