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
- StylusCaptureWithinProperty.cs
- DisplayNameAttribute.cs
- RequestCache.cs
- NopReturnReader.cs
- AnonymousIdentificationModule.cs
- XPathNavigatorReader.cs
- PropertyChangedEventManager.cs
- ClientSettingsSection.cs
- XamlBrushSerializer.cs
- MarkerProperties.cs
- PasswordRecovery.cs
- WeakReadOnlyCollection.cs
- WsrmMessageInfo.cs
- DispatcherExceptionEventArgs.cs
- DataGridParentRows.cs
- PolicyManager.cs
- Hash.cs
- AsyncResult.cs
- RoleGroupCollectionEditor.cs
- DataGridViewControlCollection.cs
- SimpleApplicationHost.cs
- WindowsFormsSynchronizationContext.cs
- ObjectDataSourceStatusEventArgs.cs
- SmtpDigestAuthenticationModule.cs
- XmlDocumentType.cs
- RenderTargetBitmap.cs
- CreateUserWizard.cs
- MultiTouchSystemGestureLogic.cs
- XmlNamedNodeMap.cs
- XpsFilter.cs
- DataGridViewRowEventArgs.cs
- autovalidator.cs
- SelectionItemPattern.cs
- StringArrayEditor.cs
- DLinqAssociationProvider.cs
- CryptoConfig.cs
- MsmqIntegrationSecurityMode.cs
- EndpointAddressMessageFilter.cs
- InitialServerConnectionReader.cs
- AutomationElementCollection.cs
- HtmlSelect.cs
- StackSpiller.cs
- DataColumnMapping.cs
- Vector3DAnimation.cs
- TypeDescriptionProvider.cs
- RouteParser.cs
- HttpPostProtocolReflector.cs
- Container.cs
- Path.cs
- DesignerMetadata.cs
- ManagedIStream.cs
- TdsParserSafeHandles.cs
- DnsPermission.cs
- EnumMember.cs
- HierarchicalDataBoundControl.cs
- MenuItemCollection.cs
- _NativeSSPI.cs
- WebPartMovingEventArgs.cs
- UnitySerializationHolder.cs
- ActivatableWorkflowsQueryResult.cs
- Quaternion.cs
- RenderCapability.cs
- SystemIPGlobalStatistics.cs
- InternalSafeNativeMethods.cs
- ListViewInsertedEventArgs.cs
- RadioButton.cs
- DLinqColumnProvider.cs
- DataGridRelationshipRow.cs
- ScriptingWebServicesSectionGroup.cs
- GeometryDrawing.cs
- PageRanges.cs
- GatewayDefinition.cs
- MessageSecurityOverMsmq.cs
- Parser.cs
- SchemaDeclBase.cs
- SqlTypeConverter.cs
- basevalidator.cs
- CodeEntryPointMethod.cs
- SqlBuilder.cs
- Literal.cs
- IOException.cs
- XmlSerializableServices.cs
- HttpSessionStateBase.cs
- ReflectionUtil.cs
- StrongNamePublicKeyBlob.cs
- ResolveCriteria.cs
- ApplicationServiceManager.cs
- AsymmetricKeyExchangeDeformatter.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- TdsParserSafeHandles.cs
- PropertyCollection.cs
- RewritingProcessor.cs
- SourceFileBuildProvider.cs
- FacetChecker.cs
- PermissionSet.cs
- DateTimeFormatInfo.cs
- WebControlsSection.cs
- HebrewNumber.cs
- AppLevelCompilationSectionCache.cs
- TypeLoadException.cs