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
- Predicate.cs
- CatalogPartDesigner.cs
- DiscoveryMessageSequenceGenerator.cs
- DirectoryObjectSecurity.cs
- HtmlElementErrorEventArgs.cs
- sqlcontext.cs
- CellRelation.cs
- PublisherMembershipCondition.cs
- CodeCatchClauseCollection.cs
- CompositeFontParser.cs
- ConnectionManager.cs
- EventBuilder.cs
- SerializationEventsCache.cs
- XmlImplementation.cs
- Paragraph.cs
- WinFormsComponentEditor.cs
- TimerEventSubscriptionCollection.cs
- CallContext.cs
- DataGridRowAutomationPeer.cs
- HttpListenerRequest.cs
- DataObject.cs
- PagerSettings.cs
- SmtpNetworkElement.cs
- WmlCommandAdapter.cs
- StorageEntitySetMapping.cs
- GlyphTypeface.cs
- TypeReference.cs
- storepermission.cs
- EnumerableWrapperWeakToStrong.cs
- EditorPartCollection.cs
- ToolStripDropTargetManager.cs
- CodeSpit.cs
- MetafileHeaderWmf.cs
- DesignTimeParseData.cs
- RC2CryptoServiceProvider.cs
- DispatcherObject.cs
- DebugInfoExpression.cs
- EdmRelationshipRoleAttribute.cs
- PathGeometry.cs
- WebGetAttribute.cs
- ProviderConnectionPoint.cs
- TypeInfo.cs
- DbProviderFactories.cs
- SoapSchemaImporter.cs
- Tracking.cs
- DockPatternIdentifiers.cs
- DataReceivedEventArgs.cs
- ConfigXmlReader.cs
- ConversionContext.cs
- HttpHandlerAction.cs
- EntityDataSourceUtil.cs
- TranslateTransform3D.cs
- TemplateBamlRecordReader.cs
- FastPropertyAccessor.cs
- followingsibling.cs
- AuthenticationService.cs
- ListBindableAttribute.cs
- ParserHooks.cs
- TypeLibConverter.cs
- RouteParametersHelper.cs
- SinglePageViewer.cs
- NativeMethodsOther.cs
- XPathPatternParser.cs
- SettingsProviderCollection.cs
- CaseExpr.cs
- HttpHandlerActionCollection.cs
- HtmlButton.cs
- OleDbError.cs
- ReachDocumentReferenceCollectionSerializerAsync.cs
- COM2Enum.cs
- TaskDesigner.cs
- ConnectionsZoneDesigner.cs
- WSSecureConversationDec2005.cs
- XPathScanner.cs
- ContextMenuService.cs
- UriSection.cs
- VariantWrapper.cs
- PrintPageEvent.cs
- BitConverter.cs
- InstanceDescriptor.cs
- TrackingRecord.cs
- PeerValidationBehavior.cs
- Aggregates.cs
- CallbackException.cs
- IdentityNotMappedException.cs
- ReflectEventDescriptor.cs
- DataSourceControlBuilder.cs
- BufferedGraphicsManager.cs
- XmlSchemaIdentityConstraint.cs
- Terminate.cs
- PropertyRecord.cs
- OutputCacheSettings.cs
- WebPageTraceListener.cs
- DependencyPropertyChangedEventArgs.cs
- TextCompositionEventArgs.cs
- CacheOutputQuery.cs
- X509Extension.cs
- SchemaElementDecl.cs
- XmlMtomReader.cs
- StreamResourceInfo.cs