Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / SqlClient / SqlGen / SymbolPair.cs / 2 / SymbolPair.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- 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. /// // Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- 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
- Compiler.cs
- SafeHandle.cs
- XPathNodeHelper.cs
- ToolStripPanelDesigner.cs
- DocumentDesigner.cs
- DllNotFoundException.cs
- SmtpAuthenticationManager.cs
- GridViewRowPresenterBase.cs
- ReflectTypeDescriptionProvider.cs
- QueryTreeBuilder.cs
- SendMessageContent.cs
- ToolboxItemCollection.cs
- QilFactory.cs
- FigureParaClient.cs
- ConnectionsZone.cs
- KeyPressEvent.cs
- WebPartDescriptionCollection.cs
- XmlSchemaCollection.cs
- ThicknessAnimationBase.cs
- Section.cs
- LinqDataSourceHelper.cs
- DataGridColumnCollectionEditor.cs
- SchemaImporterExtensionElement.cs
- DocumentViewerHelper.cs
- SigningProgress.cs
- ConstraintCollection.cs
- WindowsListBox.cs
- ResourceCodeDomSerializer.cs
- ChoiceConverter.cs
- CachedBitmap.cs
- IsolatedStorageFilePermission.cs
- EDesignUtil.cs
- EnumerableCollectionView.cs
- IsolatedStoragePermission.cs
- ConfigurationSectionCollection.cs
- CustomAttributeBuilder.cs
- Executor.cs
- SQLResource.cs
- SQLDecimal.cs
- ConnectionStringsExpressionEditor.cs
- SettingsContext.cs
- SvcMapFileLoader.cs
- CodeDesigner.cs
- QilValidationVisitor.cs
- DiagnosticsElement.cs
- ReadContentAsBinaryHelper.cs
- ClientSponsor.cs
- XsdCachingReader.cs
- JsonUriDataContract.cs
- Freezable.cs
- SolidColorBrush.cs
- SQLBinary.cs
- PenLineJoinValidation.cs
- AddInStore.cs
- CapabilitiesUse.cs
- RectKeyFrameCollection.cs
- DBSqlParser.cs
- Shared.cs
- WindowAutomationPeer.cs
- LayeredChannelFactory.cs
- DataGridViewCheckBoxColumn.cs
- WebServiceTypeData.cs
- SvcMapFileSerializer.cs
- LineBreakRecord.cs
- BitmapEditor.cs
- PrintPageEvent.cs
- EnumValidator.cs
- HttpCookieCollection.cs
- DurableInstanceManager.cs
- Event.cs
- CalendarSelectionChangedEventArgs.cs
- DataBindingHandlerAttribute.cs
- SecurityTokenParameters.cs
- UInt32Storage.cs
- IndexingContentUnit.cs
- Primitive.cs
- HttpContext.cs
- CacheVirtualItemsEvent.cs
- _FtpDataStream.cs
- Matrix.cs
- ResourceReferenceKeyNotFoundException.cs
- XamlFigureLengthSerializer.cs
- FillRuleValidation.cs
- EmptyCollection.cs
- FixedSOMSemanticBox.cs
- MailDefinition.cs
- OleDbPropertySetGuid.cs
- DebuggerAttributes.cs
- GraphicsContainer.cs
- Color.cs
- BinarySerializer.cs
- storepermissionattribute.cs
- X509IssuerSerialKeyIdentifierClause.cs
- SynchronizationLockException.cs
- List.cs
- GeometryDrawing.cs
- InternalMappingException.cs
- KnownTypesHelper.cs
- ImageBrush.cs
- ListParaClient.cs