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
- ZipIOLocalFileBlock.cs
- HandleRef.cs
- TCPClient.cs
- CanExecuteRoutedEventArgs.cs
- FixedDocument.cs
- OdbcRowUpdatingEvent.cs
- HashRepartitionEnumerator.cs
- WhitespaceSignificantCollectionAttribute.cs
- IntPtr.cs
- FixedStringLookup.cs
- FormViewInsertedEventArgs.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- ForEachAction.cs
- EqualityComparer.cs
- LambdaCompiler.Statements.cs
- _SslSessionsCache.cs
- XmlMemberMapping.cs
- XmlObjectSerializer.cs
- TypeConverter.cs
- SolidColorBrush.cs
- NamedObject.cs
- SecurityElement.cs
- ScrollContentPresenter.cs
- VisualBrush.cs
- NaturalLanguageHyphenator.cs
- BasePropertyDescriptor.cs
- UIElementIsland.cs
- assertwrapper.cs
- ConfigXmlWhitespace.cs
- XmlDigitalSignatureProcessor.cs
- DependencyPropertyKey.cs
- BitmapFrameEncode.cs
- ContainsRowNumberChecker.cs
- FlowDocumentFormatter.cs
- TypeSystemHelpers.cs
- TraceHandler.cs
- DaylightTime.cs
- RequestCachePolicyConverter.cs
- HebrewNumber.cs
- QueryableDataSourceEditData.cs
- ProtocolsSection.cs
- XmlComment.cs
- GenericIdentity.cs
- FrameworkPropertyMetadata.cs
- DefaultBinder.cs
- SqlDesignerDataSourceView.cs
- ContentPropertyAttribute.cs
- PenLineJoinValidation.cs
- entityreference_tresulttype.cs
- PartitionResolver.cs
- CompositeFontParser.cs
- DiffuseMaterial.cs
- HtmlInputHidden.cs
- SaveFileDialog.cs
- MediaElement.cs
- StreamWithDictionary.cs
- TextRangeBase.cs
- List.cs
- XmlSchemaAll.cs
- ProxyGenerationError.cs
- CodeBinaryOperatorExpression.cs
- ControlTemplate.cs
- X509UI.cs
- PassportIdentity.cs
- SourceLineInfo.cs
- ItemCheckEvent.cs
- TraceContext.cs
- WindowsPrincipal.cs
- GridViewUpdateEventArgs.cs
- NumericPagerField.cs
- InstallerTypeAttribute.cs
- DoubleKeyFrameCollection.cs
- WebPartsSection.cs
- Parameter.cs
- NewArrayExpression.cs
- Pts.cs
- JsonObjectDataContract.cs
- DBSchemaRow.cs
- DocumentAutomationPeer.cs
- ASCIIEncoding.cs
- oledbconnectionstring.cs
- ToolBarButtonClickEvent.cs
- SplayTreeNode.cs
- SelectedGridItemChangedEvent.cs
- ListBoxItemWrapperAutomationPeer.cs
- Deserializer.cs
- ListBoxItemAutomationPeer.cs
- SafePEFileHandle.cs
- LineMetrics.cs
- WebPartDisplayModeEventArgs.cs
- ManagedIStream.cs
- SQLGuid.cs
- Helpers.cs
- EditBehavior.cs
- CodeBlockBuilder.cs
- WebPartCatalogCloseVerb.cs
- DBSchemaTable.cs
- AppSettingsSection.cs
- DescendantBaseQuery.cs
- ServiceOperationParameter.cs