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
- SemanticResultValue.cs
- StateDesigner.TransitionInfo.cs
- HttpResponseHeader.cs
- FillRuleValidation.cs
- ComponentCache.cs
- AsynchronousChannel.cs
- PtsHost.cs
- StrongName.cs
- DataControlCommands.cs
- PoisonMessageException.cs
- ProjectionCamera.cs
- Debugger.cs
- MetadataExchangeBindings.cs
- XmlSchemaDocumentation.cs
- TraceContextEventArgs.cs
- dbdatarecord.cs
- IImplicitResourceProvider.cs
- Brush.cs
- CSharpCodeProvider.cs
- HtmlAnchor.cs
- FilterableAttribute.cs
- _HeaderInfo.cs
- AppDomainManager.cs
- DataGridPagerStyle.cs
- SmtpReplyReaderFactory.cs
- DataGridViewCheckBoxColumn.cs
- SchemaCollectionCompiler.cs
- UpdatePanelControlTrigger.cs
- ParenthesizePropertyNameAttribute.cs
- ConfigurationCollectionAttribute.cs
- ScriptingProfileServiceSection.cs
- UInt32Storage.cs
- BitmapSizeOptions.cs
- ColorConvertedBitmapExtension.cs
- ViewGenResults.cs
- CustomBinding.cs
- UrlPath.cs
- SettingsAttributes.cs
- CaretElement.cs
- TypeDependencyAttribute.cs
- HtmlButton.cs
- BindingUtils.cs
- PersistenceTypeAttribute.cs
- LabelLiteral.cs
- Debugger.cs
- HebrewCalendar.cs
- ProviderMetadata.cs
- HotSpot.cs
- TableDesigner.cs
- EndpointConfigContainer.cs
- QuaternionKeyFrameCollection.cs
- ObjectDataSourceDesigner.cs
- MethodToken.cs
- AlgoModule.cs
- EventSinkHelperWriter.cs
- HttpStreamMessageEncoderFactory.cs
- BoundField.cs
- mil_commands.cs
- QilCloneVisitor.cs
- FontStretches.cs
- ResourceAssociationSetEnd.cs
- UnicastIPAddressInformationCollection.cs
- PropertyConverter.cs
- DataTableExtensions.cs
- StructuralType.cs
- NetCodeGroup.cs
- RecipientInfo.cs
- MinimizableAttributeTypeConverter.cs
- CharacterMetrics.cs
- ConstraintStruct.cs
- CookieProtection.cs
- PointHitTestResult.cs
- WebPartUserCapability.cs
- Events.cs
- ConnectionManagementElementCollection.cs
- RowBinding.cs
- xdrvalidator.cs
- QueryHandler.cs
- ConfigXmlWhitespace.cs
- Int64Converter.cs
- MouseButton.cs
- RepeaterItemEventArgs.cs
- MobileErrorInfo.cs
- Point3DAnimationUsingKeyFrames.cs
- LinkLabelLinkClickedEvent.cs
- AssociationTypeEmitter.cs
- CompilationLock.cs
- FixedSOMContainer.cs
- RoleGroupCollection.cs
- ComponentChangingEvent.cs
- PeerTransportListenAddressValidator.cs
- ComplexObject.cs
- HttpRawResponse.cs
- CharEnumerator.cs
- ObjectListCommandsPage.cs
- ExtensionQuery.cs
- DeviceFilterEditorDialog.cs
- QilUnary.cs
- XmlLinkedNode.cs
- CachedTypeface.cs