Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / QueryCache / shaperfactoryquerycachekey.cs / 1305376 / shaperfactoryquerycachekey.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //----------------------------------------------------------------------------- using System.Diagnostics; using System.Data.Objects; namespace System.Data.Common.QueryCache { internal class ShaperFactoryQueryCacheKey: QueryCacheKey { private readonly string _columnMapKey; private readonly MergeOption _mergeOption; private readonly bool _isValueLayer; internal ShaperFactoryQueryCacheKey(string columnMapKey, MergeOption mergeOption, bool isValueLayer) { Debug.Assert(null != columnMapKey, "null columnMapKey"); _columnMapKey = columnMapKey; _mergeOption = mergeOption; _isValueLayer = isValueLayer; } public override bool Equals(object obj) { var other = obj as ShaperFactoryQueryCacheKey ; if (null == other) { return false; } return this._columnMapKey.Equals(other._columnMapKey, _stringComparison) && this._mergeOption == other._mergeOption && this._isValueLayer == other._isValueLayer; } public override int GetHashCode() { return _columnMapKey.GetHashCode(); } } } // 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
- CompilationPass2TaskInternal.cs
- PasswordBox.cs
- DataGridViewAutoSizeModeEventArgs.cs
- FixedSchema.cs
- CodeSnippetStatement.cs
- URIFormatException.cs
- AutomationPropertyInfo.cs
- ItemType.cs
- OperandQuery.cs
- NullableIntSumAggregationOperator.cs
- EntityViewGenerationAttribute.cs
- TraceData.cs
- EntityDataSourceSelectingEventArgs.cs
- _FtpControlStream.cs
- Version.cs
- RequestResizeEvent.cs
- SerializationEventsCache.cs
- CultureInfo.cs
- HighlightVisual.cs
- SizeF.cs
- FacetChecker.cs
- AddInAttribute.cs
- ThicknessAnimationUsingKeyFrames.cs
- BidPrivateBase.cs
- PathNode.cs
- TextAnchor.cs
- MembershipPasswordException.cs
- XmlSchemaProviderAttribute.cs
- EdgeModeValidation.cs
- BehaviorEditorPart.cs
- BrowserCapabilitiesCompiler.cs
- AgileSafeNativeMemoryHandle.cs
- MarkupWriter.cs
- Tokenizer.cs
- DefaultObjectMappingItemCollection.cs
- AssociationTypeEmitter.cs
- XsdValidatingReader.cs
- WebZone.cs
- HotCommands.cs
- XsltSettings.cs
- ThrowHelper.cs
- KeyboardNavigation.cs
- EditorPartChrome.cs
- TableLayoutPanel.cs
- SessionPageStateSection.cs
- WebConvert.cs
- EditingScope.cs
- XmlBinaryReader.cs
- sqlnorm.cs
- SecurityElement.cs
- ScriptServiceAttribute.cs
- XmlILTrace.cs
- PageRanges.cs
- TableColumn.cs
- DashStyle.cs
- HtmlGenericControl.cs
- CultureSpecificCharacterBufferRange.cs
- RoutedEventHandlerInfo.cs
- Positioning.cs
- UpdatePanel.cs
- MimeObjectFactory.cs
- SqlInternalConnectionTds.cs
- streamingZipPartStream.cs
- CopyAction.cs
- latinshape.cs
- DataGridViewTopRowAccessibleObject.cs
- TextStore.cs
- X509Certificate.cs
- AccessViolationException.cs
- SrgsGrammar.cs
- CheckBoxRenderer.cs
- ParameterElement.cs
- QueryCacheKey.cs
- Composition.cs
- BinaryUtilClasses.cs
- RenderContext.cs
- SHA256Managed.cs
- VariantWrapper.cs
- Nodes.cs
- ChannelProtectionRequirements.cs
- HandlerBase.cs
- XmlName.cs
- ContractCodeDomInfo.cs
- PropertyGridCommands.cs
- MachineKeyConverter.cs
- CqlLexer.cs
- FamilyMap.cs
- HyperLinkField.cs
- CodeAttributeArgument.cs
- ToolstripProfessionalRenderer.cs
- TreeView.cs
- ListSortDescriptionCollection.cs
- PreviewKeyDownEventArgs.cs
- SiblingIterators.cs
- IListConverters.cs
- DWriteFactory.cs
- EllipseGeometry.cs
- SqlReferenceCollection.cs
- TypeSchema.cs
- securitymgrsite.cs