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
- JapaneseLunisolarCalendar.cs
- CodeSnippetCompileUnit.cs
- ListDesigner.cs
- Rule.cs
- ControlCollection.cs
- DefaultBinder.cs
- ConcurrentQueue.cs
- PointF.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- FactoryId.cs
- PointCollection.cs
- SingleObjectCollection.cs
- OleDbConnectionFactory.cs
- TextSearch.cs
- DefaultValueConverter.cs
- DisableDpiAwarenessAttribute.cs
- CodeVariableReferenceExpression.cs
- RichTextBox.cs
- DbgCompiler.cs
- Constants.cs
- ListControl.cs
- UIElementCollection.cs
- AsynchronousChannel.cs
- MessageAction.cs
- ToolboxSnapDragDropEventArgs.cs
- TextRunCache.cs
- AdjustableArrowCap.cs
- PageAsyncTask.cs
- NamedElement.cs
- WebConvert.cs
- StylusSystemGestureEventArgs.cs
- ContactManager.cs
- ReflectPropertyDescriptor.cs
- InputProviderSite.cs
- GeometryGroup.cs
- ApplicationServiceHelper.cs
- SevenBitStream.cs
- FollowerQueueCreator.cs
- CodePropertyReferenceExpression.cs
- IsolatedStorage.cs
- TextTreeUndo.cs
- PassportAuthenticationModule.cs
- BitmapMetadataBlob.cs
- DataTransferEventArgs.cs
- SiteMapDataSource.cs
- SiteIdentityPermission.cs
- RelatedPropertyManager.cs
- ViewLoader.cs
- TextElementAutomationPeer.cs
- DeclaredTypeValidatorAttribute.cs
- WindowsStatusBar.cs
- PointUtil.cs
- AuthorizationSection.cs
- ThumbAutomationPeer.cs
- DataGridViewColumnCollection.cs
- UIElement.cs
- XmlSchemaExternal.cs
- DataGridViewColumn.cs
- COAUTHIDENTITY.cs
- PatternMatcher.cs
- PatternMatcher.cs
- KeyValuePairs.cs
- RuntimeHandles.cs
- FlowPanelDesigner.cs
- TextServicesDisplayAttribute.cs
- TransformGroup.cs
- AuthenticationModulesSection.cs
- TaiwanCalendar.cs
- DataControlReference.cs
- SystemIPGlobalStatistics.cs
- ColorEditor.cs
- IndependentAnimationStorage.cs
- COM2FontConverter.cs
- StateMachineSubscriptionManager.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- CheckPair.cs
- SettingsSection.cs
- PropertyChangingEventArgs.cs
- PackageRelationshipSelector.cs
- FactoryMaker.cs
- ArrayWithOffset.cs
- Geometry3D.cs
- AssociationSetMetadata.cs
- DocumentPageTextView.cs
- PeoplePickerWrapper.cs
- SearchForVirtualItemEventArgs.cs
- SymbolDocumentGenerator.cs
- TimerTable.cs
- VisualBrush.cs
- ReflectionUtil.cs
- ObjectConverter.cs
- ScriptReference.cs
- MediaElementAutomationPeer.cs
- ProviderUtil.cs
- DataKey.cs
- XPathArrayIterator.cs
- Imaging.cs
- PathTooLongException.cs
- CriticalFinalizerObject.cs
- DataGridViewSelectedCellCollection.cs