Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / SqlClient / SqlGen / SymbolPair.cs / 1305376 / SymbolPair.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Text; using System.Data.SqlClient; using System.Data.Metadata.Edm; using System.Data.Common.CommandTrees; namespace System.Data.SqlClient.SqlGen { ////// The SymbolPair exists to solve the record flattening problem. /// class SymbolPair : ISqlFragment { public Symbol Source; public Symbol Column; public SymbolPair(Symbol source, Symbol column) { this.Source = source; this.Column = column; } #region ISqlFragment Members public void WriteSql(SqlWriter writer, SqlGenerator sqlGenerator) { // Symbol pair should never be part of a SqlBuilder. Debug.Assert(false); } #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// Consider a property expression D(v, "j3.j2.j1.a.x") /// where v is a VarRef, j1, j2, j3 are joins, a is an extent and x is a columns. /// This has to be translated eventually into {j'}.{x'} /// /// The source field represents the outermost SqlStatement representing a join /// expression (say j2) - this is always a Join symbol. /// /// The column field keeps moving from one join symbol to the next, until it /// stops at a non-join symbol. /// /// This is returned by , /// but never makes it into a SqlBuilder. ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataSvcMapFile.cs
- EdmValidator.cs
- Resources.Designer.cs
- TableLayoutSettings.cs
- PtsCache.cs
- ManagedWndProcTracker.cs
- Literal.cs
- ItemDragEvent.cs
- MostlySingletonList.cs
- ParameterElement.cs
- _Connection.cs
- TextBox.cs
- BitmapCodecInfo.cs
- MemoryRecordBuffer.cs
- GZipStream.cs
- Int32Collection.cs
- PlainXmlSerializer.cs
- CompilerWrapper.cs
- ThrowHelper.cs
- ExceptionUtil.cs
- ValidationError.cs
- odbcmetadatacolumnnames.cs
- WsdlServiceChannelBuilder.cs
- DateTimeOffset.cs
- XmlUtil.cs
- ProtectedConfigurationProviderCollection.cs
- BitmapDecoder.cs
- ImageCodecInfoPrivate.cs
- returneventsaver.cs
- SoapExtensionStream.cs
- SettingsPropertyNotFoundException.cs
- FullTrustAssemblyCollection.cs
- SecurityBindingElementImporter.cs
- SvcFileManager.cs
- ListViewItemMouseHoverEvent.cs
- EmptyStringExpandableObjectConverter.cs
- CharacterBufferReference.cs
- InvalidFilterCriteriaException.cs
- WebFormsRootDesigner.cs
- Executor.cs
- DataGridItemEventArgs.cs
- ADRole.cs
- GeometryModel3D.cs
- CompilerInfo.cs
- ConditionChanges.cs
- CurrentTimeZone.cs
- HttpCookiesSection.cs
- ArrayListCollectionBase.cs
- ToolboxItemWrapper.cs
- Simplifier.cs
- ObjectDataSource.cs
- GenericAuthenticationEventArgs.cs
- ValidationEventArgs.cs
- SortFieldComparer.cs
- AllowedAudienceUriElementCollection.cs
- ValidationRuleCollection.cs
- HtmlControl.cs
- CompoundFileIOPermission.cs
- HttpConfigurationSystem.cs
- EndpointConfigContainer.cs
- _TransmitFileOverlappedAsyncResult.cs
- WebServiceHost.cs
- HistoryEventArgs.cs
- Evaluator.cs
- AsyncPostBackErrorEventArgs.cs
- ResXDataNode.cs
- LayoutEditorPart.cs
- ResXBuildProvider.cs
- WebPartConnection.cs
- ZoneLinkButton.cs
- WebPartEditorOkVerb.cs
- ObjectConverter.cs
- XamlBrushSerializer.cs
- UriSection.cs
- ExceptionTranslationTable.cs
- safePerfProviderHandle.cs
- PageOutputColor.cs
- ToolboxItem.cs
- WebPartMinimizeVerb.cs
- XmlSchemaGroupRef.cs
- recordstatescratchpad.cs
- UnauthorizedAccessException.cs
- GACMembershipCondition.cs
- TrackBarRenderer.cs
- DesignTableCollection.cs
- DecoderNLS.cs
- ConnectionsZone.cs
- Codec.cs
- PeerUnsafeNativeCryptMethods.cs
- ListViewCancelEventArgs.cs
- EventPropertyMap.cs
- WhereQueryOperator.cs
- SettingsPropertyNotFoundException.cs
- UnsafeNativeMethods.cs
- DbProviderFactories.cs
- SignedXmlDebugLog.cs
- DbConnectionPoolIdentity.cs
- LaxModeSecurityHeaderElementInferenceEngine.cs
- SqlDataSourceFilteringEventArgs.cs
- MemoryMappedFile.cs