Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / SqlClient / SqlGen / SymbolPair.cs / 1 / 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
- WeakReference.cs
- TextControlDesigner.cs
- ListControl.cs
- AuthorizationPolicyTypeElement.cs
- NegationPusher.cs
- HtmlContainerControl.cs
- LeafCellTreeNode.cs
- ReadOnlyDataSourceView.cs
- InvalidFilterCriteriaException.cs
- UserControlParser.cs
- PageParserFilter.cs
- StringWriter.cs
- FormViewUpdateEventArgs.cs
- PageContentCollection.cs
- InvalidFilterCriteriaException.cs
- TriggerBase.cs
- BatchParser.cs
- MorphHelper.cs
- AsymmetricAlgorithm.cs
- SiteOfOriginContainer.cs
- ItemContainerGenerator.cs
- CompressStream.cs
- FolderBrowserDialogDesigner.cs
- NameValueSectionHandler.cs
- WorkflowApplicationAbortedEventArgs.cs
- WebColorConverter.cs
- XmlSchemaIdentityConstraint.cs
- ViewStateException.cs
- TypeLibConverter.cs
- TileModeValidation.cs
- DefaultEventAttribute.cs
- LabelEditEvent.cs
- DocumentViewerConstants.cs
- QuaternionAnimation.cs
- RemotingSurrogateSelector.cs
- ModelService.cs
- CustomLineCap.cs
- ScaleTransform3D.cs
- DLinqColumnProvider.cs
- GetFileNameResult.cs
- ImpersonationContext.cs
- XmlResolver.cs
- StaticFileHandler.cs
- InstanceDataCollection.cs
- LinkedResource.cs
- TableProviderWrapper.cs
- SafeThemeHandle.cs
- WebServiceBindingAttribute.cs
- Transform3DGroup.cs
- FrameworkContextData.cs
- RecordBuilder.cs
- ModelPerspective.cs
- TextComposition.cs
- MissingFieldException.cs
- RuntimeHandles.cs
- ToolStripOverflow.cs
- GridViewSortEventArgs.cs
- InfoCardKeyedHashAlgorithm.cs
- XmlSchemaGroup.cs
- MouseCaptureWithinProperty.cs
- TextTreeObjectNode.cs
- FragmentQuery.cs
- ActivityExecutor.cs
- FixedNode.cs
- MSAANativeProvider.cs
- Transform3D.cs
- ContractDescription.cs
- CaseStatement.cs
- TableLayoutPanelCodeDomSerializer.cs
- MouseGestureConverter.cs
- KnownTypes.cs
- UIElementHelper.cs
- iisPickupDirectory.cs
- TaiwanLunisolarCalendar.cs
- Stroke2.cs
- TcpServerChannel.cs
- RefType.cs
- FixedSOMPageConstructor.cs
- LongCountAggregationOperator.cs
- XmlProcessingInstruction.cs
- DetailsViewRow.cs
- NamedPipeConnectionPoolSettings.cs
- PersonalizationProviderCollection.cs
- SizeChangedEventArgs.cs
- XamlHttpHandlerFactory.cs
- DynamicValidatorEventArgs.cs
- MergeFilterQuery.cs
- COM2ExtendedTypeConverter.cs
- Effect.cs
- OleDbParameter.cs
- X509RawDataKeyIdentifierClause.cs
- ClearCollection.cs
- MultiBinding.cs
- StylusPlugInCollection.cs
- ProtocolsConfigurationHandler.cs
- TemplatedAdorner.cs
- LostFocusEventManager.cs
- SystemTcpStatistics.cs
- BamlResourceSerializer.cs
- ScaleTransform.cs