Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- DecimalAnimationBase.cs
- FloaterParagraph.cs
- QilTypeChecker.cs
- PropertyInformation.cs
- SqlUdtInfo.cs
- Boolean.cs
- FixedSOMTable.cs
- HandlerFactoryWrapper.cs
- HwndHostAutomationPeer.cs
- IdentityNotMappedException.cs
- StickyNoteAnnotations.cs
- XmlSchemas.cs
- WebUtil.cs
- LabelTarget.cs
- ModelTreeEnumerator.cs
- Cursor.cs
- FormatConvertedBitmap.cs
- SingleBodyParameterMessageFormatter.cs
- DependencyProperty.cs
- BinaryObjectWriter.cs
- CfgArc.cs
- ListViewItem.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- WithParamAction.cs
- XmlDataSourceNodeDescriptor.cs
- LinkedResource.cs
- SqlDataReader.cs
- DesignerActionList.cs
- BehaviorService.cs
- BuildResult.cs
- _NetworkingPerfCounters.cs
- TimeSpan.cs
- HttpPostedFile.cs
- DbException.cs
- HttpResponse.cs
- IdentitySection.cs
- DateBoldEvent.cs
- SizeAnimation.cs
- ScrollProviderWrapper.cs
- PersonalizationStateInfo.cs
- CodeEventReferenceExpression.cs
- RedistVersionInfo.cs
- CacheMode.cs
- ClientBuildManager.cs
- GenericXmlSecurityToken.cs
- SingleConverter.cs
- Font.cs
- Condition.cs
- BitmapFrameEncode.cs
- EmissiveMaterial.cs
- TypeBuilderInstantiation.cs
- MatrixAnimationUsingKeyFrames.cs
- SqlConnectionPoolGroupProviderInfo.cs
- WindowsListViewItemStartMenu.cs
- CharEnumerator.cs
- AndAlso.cs
- TranslateTransform3D.cs
- SystemException.cs
- DataTableReader.cs
- HttpModuleAction.cs
- Dispatcher.cs
- FunctionGenerator.cs
- Subtree.cs
- AdapterSwitches.cs
- Util.cs
- CustomAttributeBuilder.cs
- NotifyInputEventArgs.cs
- ObjectCloneHelper.cs
- AssemblyCache.cs
- AuthenticatingEventArgs.cs
- NameSpaceExtractor.cs
- AuthenticateEventArgs.cs
- InplaceBitmapMetadataWriter.cs
- TextProviderWrapper.cs
- ICspAsymmetricAlgorithm.cs
- DataGridViewElement.cs
- NotificationContext.cs
- ActionFrame.cs
- Expressions.cs
- TimersDescriptionAttribute.cs
- StorageComplexTypeMapping.cs
- JsonReaderDelegator.cs
- ButtonRenderer.cs
- XPathNavigator.cs
- Composition.cs
- PeerContact.cs
- XmlValueConverter.cs
- CqlParserHelpers.cs
- PolicyVersion.cs
- VectorCollectionConverter.cs
- handlecollector.cs
- RequestCachePolicyConverter.cs
- NameObjectCollectionBase.cs
- ContainerUIElement3D.cs
- ClassHandlersStore.cs
- UrlPath.cs
- XmlJsonReader.cs
- CodeValidator.cs
- AnnotationComponentChooser.cs
- XslNumber.cs