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
- BaseParser.cs
- CompModSwitches.cs
- SerializationEventsCache.cs
- DefaultTextStore.cs
- AsmxEndpointPickerExtension.cs
- AnimationClock.cs
- ScrollItemPatternIdentifiers.cs
- DataBindingCollection.cs
- _UncName.cs
- ClonableStack.cs
- TdsParameterSetter.cs
- EventKeyword.cs
- Matrix3DValueSerializer.cs
- MediaPlayer.cs
- PtsHost.cs
- SqlBooleanizer.cs
- GridViewDeletedEventArgs.cs
- AutomationPropertyInfo.cs
- DocumentApplicationDocumentViewer.cs
- Item.cs
- BasicExpandProvider.cs
- WebBrowser.cs
- EllipseGeometry.cs
- Process.cs
- HostSecurityManager.cs
- DistributedTransactionPermission.cs
- ContainerUIElement3D.cs
- SizeValueSerializer.cs
- MethodSet.cs
- XmlSiteMapProvider.cs
- SettingsProperty.cs
- RootProfilePropertySettingsCollection.cs
- indexingfiltermarshaler.cs
- XmlReaderSettings.cs
- DateTimePicker.cs
- Int16AnimationUsingKeyFrames.cs
- DecryptRequest.cs
- ThemeableAttribute.cs
- ToolStripDesignerAvailabilityAttribute.cs
- TextServicesContext.cs
- Visual3DCollection.cs
- OleCmdHelper.cs
- CodeNamespace.cs
- SafeFileMappingHandle.cs
- XmlSchemaSet.cs
- ISFClipboardData.cs
- basecomparevalidator.cs
- MissingMemberException.cs
- DbDataSourceEnumerator.cs
- RuntimeDelegateArgument.cs
- InvalidFilterCriteriaException.cs
- DataGridViewCellParsingEventArgs.cs
- WebPartTracker.cs
- ToolStripDropDownClosedEventArgs.cs
- OletxTransactionFormatter.cs
- MultiTrigger.cs
- BaseAppDomainProtocolHandler.cs
- WebBrowserNavigatingEventHandler.cs
- StringConverter.cs
- StackOverflowException.cs
- CodePageUtils.cs
- ExtendedProtectionPolicyElement.cs
- Stacktrace.cs
- SystemColorTracker.cs
- AppDomainAttributes.cs
- dataSvcMapFileLoader.cs
- ByteViewer.cs
- Pair.cs
- FusionWrap.cs
- PropertyEntry.cs
- PlanCompilerUtil.cs
- URIFormatException.cs
- SamlAssertion.cs
- Menu.cs
- DispatcherFrame.cs
- ImpersonateTokenRef.cs
- TextSimpleMarkerProperties.cs
- ColumnClickEvent.cs
- HostingEnvironment.cs
- OperationExecutionFault.cs
- InputBuffer.cs
- AssociationType.cs
- EventLogPropertySelector.cs
- SemanticBasicElement.cs
- mongolianshape.cs
- PageCatalogPart.cs
- ProcessHostFactoryHelper.cs
- SubtreeProcessor.cs
- PropertyValueUIItem.cs
- NullRuntimeConfig.cs
- ListBindingConverter.cs
- shaper.cs
- TraceHwndHost.cs
- WebBrowserContainer.cs
- ColorAnimationUsingKeyFrames.cs
- QueryOperationResponseOfT.cs
- RubberbandSelector.cs
- SessionStateModule.cs
- TypeLibConverter.cs
- DayRenderEvent.cs