Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DLinq / Dlinq / SqlClient / Query / SqlGatherProducedAliases.cs / 1305376 / SqlGatherProducedAliases.cs
using System; using System.Collections.Generic; using System.Text; namespace System.Data.Linq.SqlClient { ////// Walk a tree and return the set of unique aliases it produces. /// class SqlGatherProducedAliases { internal static HashSetGather(SqlNode node) { Gatherer g = new Gatherer(); g.Visit(node); return g.Produced; } private class Gatherer : SqlVisitor { internal HashSet Produced = new HashSet (); internal override SqlAlias VisitAlias(SqlAlias a) { Produced.Add(a); return base.VisitAlias(a); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Pair.cs
- PolyQuadraticBezierSegment.cs
- UserPreferenceChangedEventArgs.cs
- OdbcHandle.cs
- ValueQuery.cs
- TextTreeRootTextBlock.cs
- ValueTable.cs
- BindToObject.cs
- TextTreePropertyUndoUnit.cs
- PropertyGridCommands.cs
- InterleavedZipPartStream.cs
- BufferAllocator.cs
- Completion.cs
- XmlUtil.cs
- StringSource.cs
- ExtensionFile.cs
- DbConnectionPoolOptions.cs
- ByteStream.cs
- DateBoldEvent.cs
- ConfigurationValues.cs
- MessageSecurityProtocol.cs
- ScrollChrome.cs
- DesignerLoader.cs
- XamlTypeMapper.cs
- ResourceReader.cs
- BitmapMetadataEnumerator.cs
- XmlSchemaSimpleTypeRestriction.cs
- Rect.cs
- FontUnitConverter.cs
- Sentence.cs
- TraceData.cs
- ReadOnlyDictionary.cs
- UriScheme.cs
- tooltip.cs
- CacheChildrenQuery.cs
- X509Certificate.cs
- IndexedString.cs
- ExceptionValidationRule.cs
- DesignerToolStripControlHost.cs
- FactoryId.cs
- ProfilePropertyMetadata.cs
- LineServicesRun.cs
- SerializerProvider.cs
- ContentPosition.cs
- TextContainerChangeEventArgs.cs
- WorkflowTimerService.cs
- BitmapEffectInput.cs
- SmiXetterAccessMap.cs
- RegexRunner.cs
- PropertyGridEditorPart.cs
- SQLBoolean.cs
- WebPartEventArgs.cs
- OdbcConnectionPoolProviderInfo.cs
- TableItemPatternIdentifiers.cs
- HTMLTextWriter.cs
- SqlFileStream.cs
- CustomTypeDescriptor.cs
- TaiwanCalendar.cs
- ProcessHost.cs
- DesignUtil.cs
- GraphicsPathIterator.cs
- DataBoundControlAdapter.cs
- PreDigestedSignedInfo.cs
- Oci.cs
- NamespaceTable.cs
- EncryptedPackage.cs
- ElementHostPropertyMap.cs
- BitConverter.cs
- TableTextElementCollectionInternal.cs
- HotSpot.cs
- MessageSecurityVersion.cs
- URLMembershipCondition.cs
- SecurityRuntime.cs
- TracePayload.cs
- CookieProtection.cs
- StringSource.cs
- StyleTypedPropertyAttribute.cs
- DictionaryBase.cs
- DeflateInput.cs
- RemoteWebConfigurationHostStream.cs
- Vertex.cs
- AppDomainResourcePerfCounters.cs
- Util.cs
- EndPoint.cs
- TreePrinter.cs
- LocationSectionRecord.cs
- AttributeParameterInfo.cs
- TableTextElementCollectionInternal.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- _SingleItemRequestCache.cs
- TypeDependencyAttribute.cs
- FileDetails.cs
- ForceCopyBuildProvider.cs
- MaterializeFromAtom.cs
- SqlWriter.cs
- NameTable.cs
- BamlReader.cs
- Socket.cs
- ValueOfAction.cs
- DiscoveryServerProtocol.cs