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
- ProcessThread.cs
- ViewPort3D.cs
- UInt32.cs
- SpStreamWrapper.cs
- Point3DConverter.cs
- QilXmlReader.cs
- DataGridViewCellStyleChangedEventArgs.cs
- TreeView.cs
- CompositionTarget.cs
- IPGlobalProperties.cs
- TouchFrameEventArgs.cs
- BaseConfigurationRecord.cs
- RawMouseInputReport.cs
- CallbackTimeoutsElement.cs
- CacheVirtualItemsEvent.cs
- ProcessInfo.cs
- Vector3dCollection.cs
- HtmlEmptyTagControlBuilder.cs
- Cell.cs
- GregorianCalendar.cs
- PerspectiveCamera.cs
- DetailsViewPagerRow.cs
- WpfPayload.cs
- TcpTransportSecurityElement.cs
- DataStreamFromComStream.cs
- XmlSchemaSimpleType.cs
- ExpressionConverter.cs
- ScriptReferenceBase.cs
- PeerNameResolver.cs
- ArrayElementGridEntry.cs
- ClassData.cs
- MediaPlayerState.cs
- MostlySingletonList.cs
- ReferencedType.cs
- EventlogProvider.cs
- MonitoringDescriptionAttribute.cs
- WorkBatch.cs
- CodeThrowExceptionStatement.cs
- SpecialFolderEnumConverter.cs
- DataGridCellAutomationPeer.cs
- PaperSize.cs
- InsufficientMemoryException.cs
- ButtonBaseAdapter.cs
- EntityFunctions.cs
- GridLengthConverter.cs
- TrackingWorkflowEventArgs.cs
- AspCompat.cs
- SqlProcedureAttribute.cs
- HotSpotCollection.cs
- DesignerAutoFormat.cs
- KeyBinding.cs
- ReachSerializer.cs
- OleDbDataAdapter.cs
- ResourceAttributes.cs
- ContentIterators.cs
- BrowserDefinition.cs
- SafeCryptoHandles.cs
- ContentPlaceHolder.cs
- DbConnectionPoolGroupProviderInfo.cs
- EditorZone.cs
- EngineSiteSapi.cs
- MatrixTransform3D.cs
- __TransparentProxy.cs
- LoginUtil.cs
- IDReferencePropertyAttribute.cs
- RSACryptoServiceProvider.cs
- ModelTypeConverter.cs
- ScriptingRoleServiceSection.cs
- DerivedKeySecurityToken.cs
- EntitySqlQueryCacheEntry.cs
- PropertyBuilder.cs
- ExpressionBindingsDialog.cs
- TextureBrush.cs
- SQLDecimal.cs
- DataFormat.cs
- KeyGestureValueSerializer.cs
- SafeNativeMethods.cs
- datacache.cs
- WebPartTransformerAttribute.cs
- ValidationResult.cs
- XmlSerializerFormatAttribute.cs
- DynamicResourceExtension.cs
- DesignerSerializationVisibilityAttribute.cs
- DrawingGroup.cs
- DebugView.cs
- CheckBoxRenderer.cs
- InheritanceContextChangedEventManager.cs
- UriWriter.cs
- OdbcErrorCollection.cs
- mediaclock.cs
- TransformConverter.cs
- InputLanguage.cs
- HwndPanningFeedback.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- WindowsTitleBar.cs
- BehaviorEditorPart.cs
- QueryStringParameter.cs
- Highlights.cs
- AnimationTimeline.cs
- SrgsToken.cs