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
- SrgsText.cs
- UrlPropertyAttribute.cs
- ErrorTableItemStyle.cs
- MultiAsyncResult.cs
- Model3D.cs
- ChannelBuilder.cs
- WebReferenceOptions.cs
- RequestQueryParser.cs
- EdmItemCollection.cs
- SectionInput.cs
- TableSectionStyle.cs
- WhitespaceRule.cs
- XmlAttribute.cs
- _AutoWebProxyScriptHelper.cs
- SiteMapNodeCollection.cs
- XmlImplementation.cs
- SqlDataSourceCommandEventArgs.cs
- RijndaelManagedTransform.cs
- QueryStringParameter.cs
- Parser.cs
- RightsManagementEncryptionTransform.cs
- InputBinding.cs
- FieldToken.cs
- EmbeddedObject.cs
- CommandID.cs
- FragmentQuery.cs
- MenuItemBinding.cs
- IdentityHolder.cs
- Partitioner.cs
- NoPersistHandle.cs
- StreamGeometryContext.cs
- ScriptingJsonSerializationSection.cs
- SecurityPermission.cs
- TypeTypeConverter.cs
- XmlSchemaImporter.cs
- HttpInputStream.cs
- Token.cs
- TemplatedWizardStep.cs
- MonitoringDescriptionAttribute.cs
- reliableinputsessionchannel.cs
- Pkcs7Recipient.cs
- FlowchartDesignerCommands.cs
- QilLoop.cs
- AdornerLayer.cs
- sqlser.cs
- Matrix3DStack.cs
- MDIWindowDialog.cs
- HashHelper.cs
- wgx_exports.cs
- IIS7WorkerRequest.cs
- AddInEnvironment.cs
- SqlConnectionManager.cs
- EncoderNLS.cs
- MailAddressCollection.cs
- DataKey.cs
- StatusBarDrawItemEvent.cs
- EdgeProfileValidation.cs
- DbBuffer.cs
- FontFamily.cs
- EntityFrameworkVersions.cs
- Track.cs
- DynamicMethod.cs
- WindowsFormsLinkLabel.cs
- PaintValueEventArgs.cs
- AutomationProperties.cs
- datacache.cs
- XmlUtil.cs
- XmlSchemaAttributeGroupRef.cs
- RegistrySecurity.cs
- DatasetMethodGenerator.cs
- WebPartZoneCollection.cs
- HScrollProperties.cs
- SerialPort.cs
- View.cs
- Brush.cs
- DataGridViewEditingControlShowingEventArgs.cs
- Page.cs
- XmlILAnnotation.cs
- TcpHostedTransportConfiguration.cs
- BrowserCapabilitiesCompiler.cs
- DebugTraceHelper.cs
- ScriptDescriptor.cs
- NamespaceList.cs
- LayoutSettings.cs
- AsmxEndpointPickerExtension.cs
- ConnectionProviderAttribute.cs
- TextWriter.cs
- PageClientProxyGenerator.cs
- DbDataAdapter.cs
- NonSerializedAttribute.cs
- LicenseProviderAttribute.cs
- UnicodeEncoding.cs
- ThicknessAnimationBase.cs
- RuleSettingsCollection.cs
- WebPartConnectionsCloseVerb.cs
- RequestQueryParser.cs
- Char.cs
- SpotLight.cs
- RecognizedPhrase.cs
- X509SecurityToken.cs