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
- _ShellExpression.cs
- XmlSchemaObject.cs
- LineServicesRun.cs
- Debug.cs
- MyContact.cs
- HtmlCommandAdapter.cs
- SafeUserTokenHandle.cs
- COM2DataTypeToManagedDataTypeConverter.cs
- FormsAuthenticationConfiguration.cs
- CodeDirectionExpression.cs
- SqlConnectionStringBuilder.cs
- CaseInsensitiveComparer.cs
- XmlIncludeAttribute.cs
- SqlRewriteScalarSubqueries.cs
- ReachPageContentCollectionSerializerAsync.cs
- IPPacketInformation.cs
- FlowDocumentReader.cs
- WeakReference.cs
- NotifyParentPropertyAttribute.cs
- wmiprovider.cs
- DebugView.cs
- CalculatedColumn.cs
- TableLayoutRowStyleCollection.cs
- ImageMap.cs
- LabelLiteral.cs
- MergePropertyDescriptor.cs
- ProcessThreadDesigner.cs
- prompt.cs
- SqlBulkCopyColumnMappingCollection.cs
- SystemThemeKey.cs
- ControlPropertyNameConverter.cs
- OdbcRowUpdatingEvent.cs
- TextProviderWrapper.cs
- _SingleItemRequestCache.cs
- EventLogTraceListener.cs
- FileUtil.cs
- ObjectDataSourceSelectingEventArgs.cs
- RelationshipSet.cs
- Serializer.cs
- CounterCreationData.cs
- SymLanguageType.cs
- SqlTypesSchemaImporter.cs
- DropShadowEffect.cs
- BinHexEncoder.cs
- TimeoutException.cs
- SubclassTypeValidatorAttribute.cs
- shaper.cs
- AnimationLayer.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- CatalogPartCollection.cs
- Container.cs
- SQLInt32Storage.cs
- NTAccount.cs
- MessageDescription.cs
- TypedServiceChannelBuilder.cs
- Expr.cs
- TemplateBindingExpression.cs
- Int32AnimationBase.cs
- Transform.cs
- RightsManagementInformation.cs
- DbXmlEnabledProviderManifest.cs
- ImageFormat.cs
- DesignerActionPropertyItem.cs
- ExtensionFile.cs
- ColorBlend.cs
- IncomingWebRequestContext.cs
- OciLobLocator.cs
- ListViewDeleteEventArgs.cs
- DynamicControl.cs
- CompositeDataBoundControl.cs
- XmlSchemaSequence.cs
- ProfileGroupSettingsCollection.cs
- TimeZone.cs
- CachedBitmap.cs
- CaseInsensitiveHashCodeProvider.cs
- SplitterPanel.cs
- VScrollBar.cs
- ProxyFragment.cs
- ReadOnlyHierarchicalDataSource.cs
- DependencyPropertyValueSerializer.cs
- ObjectStateEntry.cs
- PermissionSetTriple.cs
- XamlFigureLengthSerializer.cs
- VirtualizingPanel.cs
- DeflateStream.cs
- PersistChildrenAttribute.cs
- BaseValidator.cs
- BaseCodeDomTreeGenerator.cs
- EncryptedKey.cs
- LoginCancelEventArgs.cs
- ToolZone.cs
- StatusBarPanel.cs
- ModifiableIteratorCollection.cs
- ProxyWebPart.cs
- ChineseLunisolarCalendar.cs
- ConfigurationStrings.cs
- ControlTemplate.cs
- HuffModule.cs
- ByteAnimationUsingKeyFrames.cs
- Config.cs