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
- WebPartDisplayMode.cs
- Size.cs
- ConstraintManager.cs
- OracleString.cs
- EventLogPermissionHolder.cs
- Util.cs
- Stylesheet.cs
- ConnectionStringsSection.cs
- LineServices.cs
- SmtpDigestAuthenticationModule.cs
- HtmlTableCellCollection.cs
- TextParentUndoUnit.cs
- ActiveDocumentEvent.cs
- ValidatorCompatibilityHelper.cs
- UInt16Converter.cs
- ExtendedProperty.cs
- VisualBasicExpressionConverter.cs
- ChangePasswordDesigner.cs
- CfgArc.cs
- Size.cs
- XmlNamedNodeMap.cs
- StoreAnnotationsMap.cs
- TargetParameterCountException.cs
- BuildDependencySet.cs
- StaticTextPointer.cs
- FileSystemInfo.cs
- GrammarBuilderPhrase.cs
- BoolExpr.cs
- BypassElement.cs
- LambdaCompiler.Address.cs
- XPathItem.cs
- EncryptedKey.cs
- PartitionedStreamMerger.cs
- HttpAsyncResult.cs
- ACE.cs
- EmbeddedMailObjectsCollection.cs
- BindingGroup.cs
- XPathNodeInfoAtom.cs
- SettingsBindableAttribute.cs
- __ConsoleStream.cs
- DataTemplateKey.cs
- Binding.cs
- WebBodyFormatMessageProperty.cs
- Unit.cs
- ExternalException.cs
- PropertyEmitterBase.cs
- PublisherMembershipCondition.cs
- followingquery.cs
- FreezableOperations.cs
- LayoutTable.cs
- WindowsSecurityToken.cs
- TreeNodeClickEventArgs.cs
- BitmapEffectCollection.cs
- TemplateColumn.cs
- WebRequestModuleElement.cs
- RequiredAttributeAttribute.cs
- PaintEvent.cs
- FormViewPagerRow.cs
- Camera.cs
- RelationalExpressions.cs
- TreeNodeClickEventArgs.cs
- Table.cs
- ConstructorNeedsTagAttribute.cs
- DataServiceHost.cs
- JournalEntry.cs
- ExceptionUtil.cs
- TeredoHelper.cs
- EventHandlerService.cs
- ExpressionVisitorHelpers.cs
- RankException.cs
- WindowsGrip.cs
- CallbackHandler.cs
- DelegateOutArgument.cs
- DataShape.cs
- TreeNodeClickEventArgs.cs
- FirstMatchCodeGroup.cs
- RulePatternOps.cs
- TrackingDataItem.cs
- WindowsScrollBarBits.cs
- SqlNodeAnnotations.cs
- ApplicationTrust.cs
- TargetParameterCountException.cs
- UnsafeNativeMethods.cs
- Int16.cs
- ValidatingCollection.cs
- SchemaNotation.cs
- DesignerDataStoredProcedure.cs
- StringStorage.cs
- ClassHandlersStore.cs
- MarginCollapsingState.cs
- MouseActionValueSerializer.cs
- SineEase.cs
- DataSourceProvider.cs
- TypeDescriptionProvider.cs
- LiteralLink.cs
- OdbcConnectionOpen.cs
- _Events.cs
- AssemblyBuilderData.cs
- ComponentDesigner.cs
- BindUriHelper.cs