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
- HashAlgorithm.cs
- DateTimeConverter.cs
- OAVariantLib.cs
- HtmlInputText.cs
- HitTestWithGeometryDrawingContextWalker.cs
- SectionVisual.cs
- PropertyDescriptors.cs
- GridViewItemAutomationPeer.cs
- ConfigXmlComment.cs
- StackOverflowException.cs
- WpfWebRequestHelper.cs
- Scene3D.cs
- SafeNativeMemoryHandle.cs
- NumberFunctions.cs
- DataControlField.cs
- AmbiguousMatchException.cs
- WindowsBrush.cs
- AnimationStorage.cs
- _HelperAsyncResults.cs
- PrinterUnitConvert.cs
- DeferredElementTreeState.cs
- TraceSection.cs
- SqlConnectionPoolGroupProviderInfo.cs
- OracleInfoMessageEventArgs.cs
- RoleService.cs
- MetadataUtil.cs
- ToolStripComboBox.cs
- CompilerResults.cs
- UnionExpr.cs
- CodeDelegateCreateExpression.cs
- KeyFrames.cs
- DigitShape.cs
- RowUpdatingEventArgs.cs
- URLAttribute.cs
- SequentialUshortCollection.cs
- WindowClosedEventArgs.cs
- OleDbConnection.cs
- DataReaderContainer.cs
- AlphabeticalEnumConverter.cs
- ELinqQueryState.cs
- ListBox.cs
- TemplateComponentConnector.cs
- EventPropertyMap.cs
- MdiWindowListStrip.cs
- ErrorWebPart.cs
- NavigationHelper.cs
- httpstaticobjectscollection.cs
- DataServiceQueryException.cs
- Panel.cs
- BehaviorDragDropEventArgs.cs
- ProcessHostFactoryHelper.cs
- DataGridColumnReorderingEventArgs.cs
- DesignerSerializerAttribute.cs
- XmlReturnReader.cs
- TreeViewItem.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- ToolStripHighContrastRenderer.cs
- Compress.cs
- CellParagraph.cs
- mongolianshape.cs
- Visual.cs
- RequestQueryParser.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- TypeDescriptionProviderAttribute.cs
- CanonicalFormWriter.cs
- CodeParameterDeclarationExpression.cs
- DefaultShape.cs
- QilInvokeEarlyBound.cs
- BitmapEffectvisualstate.cs
- PostBackOptions.cs
- RtfToken.cs
- XamlClipboardData.cs
- SelectionBorderGlyph.cs
- LoginAutoFormat.cs
- Overlapped.cs
- HtmlShim.cs
- DataGridViewRow.cs
- _Rfc2616CacheValidators.cs
- SmtpAuthenticationManager.cs
- DynamicValidatorEventArgs.cs
- ProfileEventArgs.cs
- CustomTrackingRecord.cs
- smtpconnection.cs
- StylusPoint.cs
- Effect.cs
- ContentDisposition.cs
- EventWaitHandleSecurity.cs
- Descriptor.cs
- DSASignatureDeformatter.cs
- CatalogPartDesigner.cs
- TextServicesContext.cs
- ListItemConverter.cs
- ImageUrlEditor.cs
- ValueSerializerAttribute.cs
- PartitionResolver.cs
- MachineKeySection.cs
- MethodRental.cs
- SafeEventLogReadHandle.cs
- SqlBulkCopy.cs
- AlphabeticalEnumConverter.cs