Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DLinq / Dlinq / SqlClient / Query / SqlGatherProducedAliases.cs / 2 / 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. 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
- BufferedGraphics.cs
- OperatingSystem.cs
- ObjectPersistData.cs
- ThicknessAnimationUsingKeyFrames.cs
- NativeRecognizer.cs
- ReceiveSecurityHeaderElementManager.cs
- Knowncolors.cs
- ChannelManager.cs
- KeyManager.cs
- TabletCollection.cs
- NullReferenceException.cs
- VisualBrush.cs
- ListViewGroupCollectionEditor.cs
- Utils.cs
- ParsedRoute.cs
- ManagedWndProcTracker.cs
- FormParameter.cs
- httpstaticobjectscollection.cs
- LightweightCodeGenerator.cs
- SQLBinary.cs
- XmlCharCheckingReader.cs
- PriorityQueue.cs
- ThreadStateException.cs
- XmlIterators.cs
- InstalledFontCollection.cs
- BuiltInPermissionSets.cs
- ButtonChrome.cs
- XmlProcessingInstruction.cs
- SelectionBorderGlyph.cs
- loginstatus.cs
- SafeRightsManagementPubHandle.cs
- GuidelineCollection.cs
- FontNameConverter.cs
- LinkedResource.cs
- MembershipPasswordException.cs
- QueryOutputWriter.cs
- TypedReference.cs
- storepermission.cs
- RectAnimation.cs
- CharEnumerator.cs
- AbstractDataSvcMapFileLoader.cs
- Double.cs
- SqlUDTStorage.cs
- SqlResolver.cs
- Rect.cs
- AutoGeneratedFieldProperties.cs
- CrossAppDomainChannel.cs
- EventLogStatus.cs
- NegationPusher.cs
- ReverseQueryOperator.cs
- AnnotationAuthorChangedEventArgs.cs
- ToolboxItemCollection.cs
- KeyGestureValueSerializer.cs
- LinqDataSourceContextEventArgs.cs
- CaseInsensitiveHashCodeProvider.cs
- WebPartZoneCollection.cs
- EditableLabelControl.cs
- PenThread.cs
- NumberFunctions.cs
- DetailsViewUpdateEventArgs.cs
- TextServicesCompartmentContext.cs
- HasCopySemanticsAttribute.cs
- Activator.cs
- LayoutManager.cs
- StreamingContext.cs
- HMACSHA384.cs
- DataGridTable.cs
- WorkItem.cs
- ObjectListItem.cs
- XmlRawWriter.cs
- EpmSourcePathSegment.cs
- QilBinary.cs
- ClientBuildManagerCallback.cs
- ZipIOFileItemStream.cs
- StdValidatorsAndConverters.cs
- ConfigXmlAttribute.cs
- UrlParameterWriter.cs
- Label.cs
- TableDetailsCollection.cs
- HtmlInputPassword.cs
- ServiceDocumentFormatter.cs
- LinearGradientBrush.cs
- PropertyGridView.cs
- Literal.cs
- XmlIlTypeHelper.cs
- NumericUpDown.cs
- Stack.cs
- DataGridTableCollection.cs
- UnknownBitmapEncoder.cs
- ProcessThreadCollection.cs
- __Filters.cs
- ParallelDesigner.cs
- CustomWebEventKey.cs
- ErrorTableItemStyle.cs
- FileFormatException.cs
- oledbmetadatacolumnnames.cs
- XmlReturnWriter.cs
- ControlBindingsCollection.cs
- SrgsNameValueTag.cs
- DataViewSettingCollection.cs