Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- DefaultObjectSerializer.cs
- ExpressionConverter.cs
- ScalarConstant.cs
- RenderContext.cs
- FamilyMap.cs
- HelpProvider.cs
- ChunkedMemoryStream.cs
- OleCmdHelper.cs
- ServiceProviders.cs
- WebPartHeaderCloseVerb.cs
- DefaultParameterValueAttribute.cs
- WriteFileContext.cs
- ContainerActivationHelper.cs
- TypeDelegator.cs
- TextBoxBase.cs
- NativeWindow.cs
- Internal.cs
- InheritanceContextHelper.cs
- BitmapSource.cs
- ToolStripItemEventArgs.cs
- Qualifier.cs
- ACE.cs
- DESCryptoServiceProvider.cs
- NetNamedPipeBinding.cs
- WebSysDefaultValueAttribute.cs
- InstanceCreationEditor.cs
- ErrorTableItemStyle.cs
- EffectiveValueEntry.cs
- ConfigurationValidatorAttribute.cs
- RowToParametersTransformer.cs
- WindowsAuthenticationModule.cs
- DefaultProfileManager.cs
- GridItemProviderWrapper.cs
- CapacityStreamGeometryContext.cs
- MonthCalendar.cs
- FunctionImportElement.cs
- DebuggerAttributes.cs
- GridViewEditEventArgs.cs
- BitVector32.cs
- XmlSchemaComplexContent.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- SettingsBindableAttribute.cs
- Assembly.cs
- AmbientProperties.cs
- CultureSpecificCharacterBufferRange.cs
- Domain.cs
- DetailsViewUpdateEventArgs.cs
- XmlReflectionImporter.cs
- FloaterParagraph.cs
- InkPresenterAutomationPeer.cs
- OdbcCommand.cs
- GPRECTF.cs
- XmlSchemaProviderAttribute.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- DispatcherFrame.cs
- DbCommandDefinition.cs
- ReflectTypeDescriptionProvider.cs
- ContractBase.cs
- SecurityDocument.cs
- DefaultTraceListener.cs
- JsonReaderDelegator.cs
- HandlerBase.cs
- OleDbRowUpdatingEvent.cs
- TabControlEvent.cs
- GlyphRun.cs
- BitmapVisualManager.cs
- TextBounds.cs
- ToolStripRenderEventArgs.cs
- AssemblyBuilder.cs
- PropertyMap.cs
- TrustManagerPromptUI.cs
- ApplicationActivator.cs
- sqlstateclientmanager.cs
- TrackingWorkflowEventArgs.cs
- JournalEntryListConverter.cs
- Model3D.cs
- Baml2006Reader.cs
- X500Name.cs
- ExtensibleClassFactory.cs
- RoleGroup.cs
- Int64Animation.cs
- Image.cs
- Clipboard.cs
- LoginView.cs
- DocumentEventArgs.cs
- PasswordTextContainer.cs
- DynamicObject.cs
- SafeTimerHandle.cs
- SiteOfOriginPart.cs
- XmlSchemaObjectTable.cs
- NullableBoolConverter.cs
- DataExpression.cs
- WindowsSpinner.cs
- AnonymousIdentificationModule.cs
- StructuredType.cs
- KerberosTicketHashIdentifierClause.cs
- BitmapEffectInput.cs
- DefaultValueAttribute.cs
- InternalConfigHost.cs
- XmlBoundElement.cs