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
- Delegate.cs
- TimeManager.cs
- DataGridViewComboBoxEditingControl.cs
- ClosableStream.cs
- InProcStateClientManager.cs
- DetailsViewUpdateEventArgs.cs
- XmlReflectionMember.cs
- MarkupCompilePass2.cs
- Nodes.cs
- ListItem.cs
- SystemIPGlobalStatistics.cs
- ASCIIEncoding.cs
- HtmlInputHidden.cs
- XmlQuerySequence.cs
- HtmlElementErrorEventArgs.cs
- NativeMethodsCLR.cs
- RestClientProxyHandler.cs
- MachineKeySection.cs
- WebEventCodes.cs
- ActivatedMessageQueue.cs
- SiteMapNode.cs
- OSEnvironmentHelper.cs
- NamespaceEmitter.cs
- OleDbError.cs
- ComponentSerializationService.cs
- AlphaSortedEnumConverter.cs
- SoapCommonClasses.cs
- XmlElementAttributes.cs
- XPathNodeHelper.cs
- RelationshipDetailsRow.cs
- GenericParameterDataContract.cs
- XmlLoader.cs
- ConnectionStringsExpressionEditor.cs
- Matrix3DValueSerializer.cs
- ParameterCollection.cs
- TrustSection.cs
- CheckBoxStandardAdapter.cs
- XPathDescendantIterator.cs
- DbSetClause.cs
- SafeRightsManagementHandle.cs
- BatchStream.cs
- CodeChecksumPragma.cs
- TextTabProperties.cs
- GeometryGroup.cs
- XamlFilter.cs
- HttpHandlerAction.cs
- AdapterUtil.cs
- BitSet.cs
- XmlSchemaRedefine.cs
- SqlDataSourceSelectingEventArgs.cs
- ProcessHostConfigUtils.cs
- TransformerInfo.cs
- Scheduler.cs
- PkcsUtils.cs
- LocalizedNameDescriptionPair.cs
- AssemblyAssociatedContentFileAttribute.cs
- InputProcessorProfiles.cs
- ListView.cs
- FlowDocumentPageViewerAutomationPeer.cs
- OperationPerformanceCounters.cs
- IDispatchConstantAttribute.cs
- EdmPropertyAttribute.cs
- RadioButton.cs
- WebPartTransformer.cs
- LocalizationComments.cs
- ObjectNotFoundException.cs
- DataServiceResponse.cs
- SqlTriggerContext.cs
- SQLRoleProvider.cs
- XPathPatternBuilder.cs
- XamlGridLengthSerializer.cs
- CodeNamespace.cs
- AuthenticationManager.cs
- TemplateBamlTreeBuilder.cs
- SelectionPatternIdentifiers.cs
- MouseActionValueSerializer.cs
- MessageEnumerator.cs
- RawUIStateInputReport.cs
- WorkflowElementDialog.cs
- LiteralDesigner.cs
- RowToParametersTransformer.cs
- Debug.cs
- UnwrappedTypesXmlSerializerManager.cs
- XmlNamespaceDeclarationsAttribute.cs
- TextViewBase.cs
- ServiceAuthorizationBehavior.cs
- HashSetDebugView.cs
- MouseEventArgs.cs
- BinaryUtilClasses.cs
- Relationship.cs
- IdentityHolder.cs
- ContainerAction.cs
- PropertyGridEditorPart.cs
- TextDecoration.cs
- CodeSpit.cs
- StyleCollection.cs
- ExecutedRoutedEventArgs.cs
- Quaternion.cs
- InputScopeNameConverter.cs
- SqlFileStream.cs