Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- JavaScriptString.cs
- Oid.cs
- EdmPropertyAttribute.cs
- XmlByteStreamWriter.cs
- LogicalExpr.cs
- OleDbParameterCollection.cs
- DesignerActionUI.cs
- LocalValueEnumerator.cs
- PrimaryKeyTypeConverter.cs
- EventMetadata.cs
- UriScheme.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- XmlParser.cs
- FileReservationCollection.cs
- DataFormat.cs
- ListViewItemEventArgs.cs
- ArrayConverter.cs
- BamlVersionHeader.cs
- ExceptionUtil.cs
- ServiceRouteHandler.cs
- ModuleBuilderData.cs
- InitializationEventAttribute.cs
- BitmapPalettes.cs
- Argument.cs
- HighContrastHelper.cs
- WebFaultClientMessageInspector.cs
- VsPropertyGrid.cs
- ThemeDirectoryCompiler.cs
- AutoResizedEvent.cs
- Listen.cs
- ImageField.cs
- IconConverter.cs
- ObjectSet.cs
- KeyedHashAlgorithm.cs
- ClientProxyGenerator.cs
- ContentElementAutomationPeer.cs
- EtwTrace.cs
- COM2EnumConverter.cs
- RealProxy.cs
- SettingsSavedEventArgs.cs
- SqlVersion.cs
- CombinedGeometry.cs
- TableLayoutPanel.cs
- PersonalizableAttribute.cs
- _SslStream.cs
- OneToOneMappingSerializer.cs
- SchemaAttDef.cs
- CompilerTypeWithParams.cs
- FormViewInsertedEventArgs.cs
- DecoderNLS.cs
- HashLookup.cs
- NavigationExpr.cs
- FakeModelItemImpl.cs
- ClientFormsIdentity.cs
- OutputWindow.cs
- EncodingInfo.cs
- SplitContainerDesigner.cs
- AuthenticationService.cs
- TextParaClient.cs
- XmlCustomFormatter.cs
- TemplateInstanceAttribute.cs
- QilVisitor.cs
- HttpResponseHeader.cs
- SafeCryptHandles.cs
- TextTreeNode.cs
- DependsOnAttribute.cs
- TemplateControl.cs
- validationstate.cs
- TreeNode.cs
- JsonEnumDataContract.cs
- RecommendedAsConfigurableAttribute.cs
- MessageBox.cs
- TextTreeRootNode.cs
- XPathNavigatorReader.cs
- HeaderCollection.cs
- LocationFactory.cs
- GraphicsContext.cs
- FileSystemWatcher.cs
- DesignDataSource.cs
- FactoryMaker.cs
- PeerValidationBehavior.cs
- WebBrowserNavigatingEventHandler.cs
- GB18030Encoding.cs
- OleDbConnectionInternal.cs
- CompiledRegexRunner.cs
- UnitySerializationHolder.cs
- SupportingTokenListenerFactory.cs
- CallbackWrapper.cs
- IdentityNotMappedException.cs
- SimpleApplicationHost.cs
- TypeContext.cs
- WindowsGraphicsWrapper.cs
- SoapFormatExtensions.cs
- DataGridItem.cs
- CurrentChangingEventManager.cs
- Int16AnimationBase.cs
- StickyNoteContentControl.cs
- UnsafeNativeMethods.cs
- SingleObjectCollection.cs
- OdbcConnectionString.cs