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
- AtlasWeb.Designer.cs
- FontDialog.cs
- UnSafeCharBuffer.cs
- EditingCoordinator.cs
- GestureRecognitionResult.cs
- CalendarButton.cs
- DayRenderEvent.cs
- SessionStateUtil.cs
- GridViewAutomationPeer.cs
- Action.cs
- GZipStream.cs
- ListDictionaryInternal.cs
- QuestionEventArgs.cs
- ElementNotEnabledException.cs
- TextSelectionHighlightLayer.cs
- QuadraticEase.cs
- Quad.cs
- ScrollData.cs
- ObjectViewQueryResultData.cs
- DiscoveryRequestHandler.cs
- ListBoxAutomationPeer.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- StateItem.cs
- AvTraceFormat.cs
- BuildProviderCollection.cs
- ThrowHelper.cs
- Directory.cs
- AlignmentXValidation.cs
- QuaternionAnimationUsingKeyFrames.cs
- RewritingProcessor.cs
- MembershipValidatePasswordEventArgs.cs
- SafeRightsManagementPubHandle.cs
- Configuration.cs
- ResourceCategoryAttribute.cs
- BitmapInitialize.cs
- RootBrowserWindowAutomationPeer.cs
- GridViewRowCollection.cs
- GeneralTransformGroup.cs
- MemberDescriptor.cs
- MultipleViewPattern.cs
- XmlSchemaAppInfo.cs
- EventItfInfo.cs
- CreateUserWizard.cs
- LogStore.cs
- UserValidatedEventArgs.cs
- DecimalKeyFrameCollection.cs
- XmlSchemaSimpleContentExtension.cs
- ErrorCodes.cs
- HwndMouseInputProvider.cs
- ConstructorNeedsTagAttribute.cs
- JsonDeserializer.cs
- ServiceTimeoutsElement.cs
- WindowsListViewGroupHelper.cs
- _WebProxyDataBuilder.cs
- Clipboard.cs
- PathData.cs
- PropertyInformationCollection.cs
- BehaviorService.cs
- SqlEnums.cs
- ComponentRenameEvent.cs
- XsdDateTime.cs
- ApplicationInterop.cs
- ScriptDescriptor.cs
- XmlWriterSettings.cs
- DataSvcMapFile.cs
- ApplicationFileCodeDomTreeGenerator.cs
- StrokeNodeOperations.cs
- NullableFloatAverageAggregationOperator.cs
- SrgsOneOf.cs
- CodeCatchClauseCollection.cs
- BitmapEffectDrawing.cs
- SizeKeyFrameCollection.cs
- WebPartZoneCollection.cs
- TiffBitmapEncoder.cs
- SecurityContext.cs
- DataGridView.cs
- AutomationElementCollection.cs
- ScriptMethodAttribute.cs
- ProviderSettings.cs
- EasingFunctionBase.cs
- SqlTriggerContext.cs
- BypassElement.cs
- HttpConfigurationContext.cs
- MetadataReference.cs
- RawKeyboardInputReport.cs
- GZipStream.cs
- ProjectionPruner.cs
- DataReceivedEventArgs.cs
- ColumnReorderedEventArgs.cs
- ResizingMessageFilter.cs
- PathSegmentCollection.cs
- PropertyContainer.cs
- sqlser.cs
- CacheVirtualItemsEvent.cs
- BaseResourcesBuildProvider.cs
- MobileTemplatedControlDesigner.cs
- DataGridViewRowPrePaintEventArgs.cs
- CounterSampleCalculator.cs
- StylusButtonCollection.cs
- ScrollPattern.cs