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
- Bits.cs
- IndexerNameAttribute.cs
- BrowserInteropHelper.cs
- TextViewBase.cs
- XmlReader.cs
- DataMisalignedException.cs
- CodeTypeMember.cs
- SqlDataSourceSelectingEventArgs.cs
- ProfileManager.cs
- Label.cs
- ParameterCollection.cs
- SingleSelectRootGridEntry.cs
- XmlAggregates.cs
- MetaModel.cs
- FlowLayoutPanelDesigner.cs
- DocumentSchemaValidator.cs
- DayRenderEvent.cs
- TraceHwndHost.cs
- DesignerDataStoredProcedure.cs
- X509SecurityToken.cs
- UInt64Storage.cs
- ServiceModelConfiguration.cs
- CellIdBoolean.cs
- InstallerTypeAttribute.cs
- UIElementParaClient.cs
- DesignerView.xaml.cs
- DataGridViewTextBoxCell.cs
- ExtendedPropertyDescriptor.cs
- BoundConstants.cs
- SHA256.cs
- ApplicationSecurityInfo.cs
- LayoutSettings.cs
- URLIdentityPermission.cs
- ToolStripPanelRenderEventArgs.cs
- MenuDesigner.cs
- ExplicitDiscriminatorMap.cs
- GZipStream.cs
- CommandManager.cs
- ClientTargetCollection.cs
- TextTreeInsertElementUndoUnit.cs
- EmptyStringExpandableObjectConverter.cs
- ParameterToken.cs
- XNameConverter.cs
- RetriableClipboard.cs
- SoapFormatter.cs
- HtmlTableCellCollection.cs
- DataGridLinkButton.cs
- QilUnary.cs
- WindowsPrincipal.cs
- DataGridViewRowsAddedEventArgs.cs
- InfoCardCryptoHelper.cs
- PartDesigner.cs
- IntSecurity.cs
- UIElementIsland.cs
- ServiceChannelManager.cs
- SQlBooleanStorage.cs
- RecognizerBase.cs
- PopupEventArgs.cs
- DataGridState.cs
- DefaultAssemblyResolver.cs
- CompiledXpathExpr.cs
- InProcStateClientManager.cs
- MenuItemAutomationPeer.cs
- OuterGlowBitmapEffect.cs
- CompModSwitches.cs
- WinEventQueueItem.cs
- Tool.cs
- FileLogRecord.cs
- TextFragmentEngine.cs
- EdmScalarPropertyAttribute.cs
- ObjectSecurity.cs
- TargetControlTypeAttribute.cs
- Buffer.cs
- MobileCapabilities.cs
- AppSettingsReader.cs
- _BufferOffsetSize.cs
- BuildProviderCollection.cs
- Number.cs
- UiaCoreTypesApi.cs
- SimpleApplicationHost.cs
- Version.cs
- autovalidator.cs
- XmlBaseWriter.cs
- StickyNoteContentControl.cs
- XmlDictionaryReaderQuotasElement.cs
- ListViewGroupConverter.cs
- FileChangeNotifier.cs
- ControlOperationInvoker.cs
- NamespaceEmitter.cs
- XmlSigningNodeWriter.cs
- FontSourceCollection.cs
- DetailsViewDeleteEventArgs.cs
- PageRanges.cs
- XPathAncestorQuery.cs
- SafeProcessHandle.cs
- DateTimeConverter.cs
- InitializationEventAttribute.cs
- XmlDeclaration.cs
- SQLInt16Storage.cs
- LabelAutomationPeer.cs