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
- SqlDependencyListener.cs
- TextBox.cs
- SQLGuidStorage.cs
- DbProviderServices.cs
- URLAttribute.cs
- QueryGenerator.cs
- HuffmanTree.cs
- NominalTypeEliminator.cs
- InternalsVisibleToAttribute.cs
- KeyedHashAlgorithm.cs
- _OverlappedAsyncResult.cs
- UrlMapping.cs
- TranslateTransform.cs
- StrokeCollectionConverter.cs
- Timer.cs
- DataTable.cs
- EntitySqlQueryState.cs
- PackageProperties.cs
- XmlConvert.cs
- CounterSample.cs
- ExpressionWriter.cs
- X509Certificate2.cs
- RuleSettingsCollection.cs
- XmlSchemaInferenceException.cs
- TextTreeTextNode.cs
- CodeArrayIndexerExpression.cs
- ElementFactory.cs
- CellPartitioner.cs
- QueryContext.cs
- UriTemplateMatchException.cs
- CodeAssignStatement.cs
- SafeProcessHandle.cs
- CodeDirectiveCollection.cs
- EnumDataContract.cs
- ObjectMemberMapping.cs
- SQLInt16.cs
- TextSelectionHighlightLayer.cs
- GenericArgumentsUpdater.cs
- PropertyChangingEventArgs.cs
- XmlAggregates.cs
- ToolStripDropDownClosedEventArgs.cs
- ApplicationBuildProvider.cs
- WebControl.cs
- InputScopeManager.cs
- XmlSchemaAll.cs
- RenderTargetBitmap.cs
- DataGridParentRows.cs
- DefaultProxySection.cs
- CodeTypeReference.cs
- ShapingWorkspace.cs
- HttpMethodConstraint.cs
- RegistryHandle.cs
- ProtocolElement.cs
- BigInt.cs
- Number.cs
- NotifyIcon.cs
- coordinatorfactory.cs
- TextTreeInsertElementUndoUnit.cs
- MSAAEventDispatcher.cs
- Wildcard.cs
- SqlBuilder.cs
- CounterCreationDataConverter.cs
- DbException.cs
- UnmanagedMemoryStreamWrapper.cs
- PolicyStatement.cs
- ConversionContext.cs
- CaseInsensitiveHashCodeProvider.cs
- LinkClickEvent.cs
- ResourceReferenceExpressionConverter.cs
- Ipv6Element.cs
- DeleteHelper.cs
- MethodToken.cs
- Accessors.cs
- SafeEventLogWriteHandle.cs
- StdValidatorsAndConverters.cs
- WpfSharedBamlSchemaContext.cs
- WriterOutput.cs
- SamlNameIdentifierClaimResource.cs
- SizeConverter.cs
- OdbcConnectionOpen.cs
- CompiledQuery.cs
- GeometryCollection.cs
- SqlMultiplexer.cs
- Cursors.cs
- UTF32Encoding.cs
- DataBindEngine.cs
- ZipIOFileItemStream.cs
- Vector3DAnimation.cs
- Material.cs
- TransactionTraceIdentifier.cs
- DbReferenceCollection.cs
- SHA256Managed.cs
- PaginationProgressEventArgs.cs
- RoleManagerSection.cs
- EditorAttributeInfo.cs
- HTMLTagNameToTypeMapper.cs
- ItemsPresenter.cs
- ProjectionPlanCompiler.cs
- LocalizationComments.cs
- ProjectionQueryOptionExpression.cs