Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / SqlClient / SqlGen / SymbolPair.cs / 1305376 / SymbolPair.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- 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
- SynchronizationValidator.cs
- VisualTreeUtils.cs
- OperationAbortedException.cs
- InstanceCreationEditor.cs
- SignatureDescription.cs
- Cell.cs
- DES.cs
- CodeGenerator.cs
- GlobalAllocSafeHandle.cs
- TypeGeneratedEventArgs.cs
- XslTransformFileEditor.cs
- DataPagerCommandEventArgs.cs
- PropertyGroupDescription.cs
- ResourceContainer.cs
- MarkupWriter.cs
- PointCollectionValueSerializer.cs
- PointF.cs
- FastEncoderWindow.cs
- DataViewListener.cs
- MetadataProperty.cs
- TextBox.cs
- TriggerBase.cs
- TemplateBindingExpression.cs
- XsltContext.cs
- ComPlusServiceLoader.cs
- ArcSegment.cs
- AuthorizationRuleCollection.cs
- ServiceManager.cs
- Repeater.cs
- CellParaClient.cs
- NotifyParentPropertyAttribute.cs
- TemplateControlParser.cs
- WebDisplayNameAttribute.cs
- BaseComponentEditor.cs
- EqualityComparer.cs
- IgnoreFileBuildProvider.cs
- OleDbParameterCollection.cs
- DrawingDrawingContext.cs
- FolderBrowserDialogDesigner.cs
- ManagedIStream.cs
- SecurityCriticalDataForSet.cs
- HostProtectionException.cs
- RecognitionResult.cs
- Int32.cs
- CompilerGeneratedAttribute.cs
- HttpCapabilitiesBase.cs
- SoapAttributeAttribute.cs
- XmlCDATASection.cs
- ListBindableAttribute.cs
- IsolatedStorage.cs
- PrintingPermission.cs
- InitializerFacet.cs
- QuadraticBezierSegment.cs
- CompiledAction.cs
- CqlLexerHelpers.cs
- FixedSOMTableRow.cs
- FileDialog.cs
- DesignerForm.cs
- Stack.cs
- MorphHelper.cs
- TabControlEvent.cs
- ToolStripSystemRenderer.cs
- ClosableStream.cs
- XmlSerializerVersionAttribute.cs
- OutArgument.cs
- DbProviderFactories.cs
- ZipIOCentralDirectoryBlock.cs
- OSFeature.cs
- baseaxisquery.cs
- Gdiplus.cs
- ParenthesizePropertyNameAttribute.cs
- TagPrefixInfo.cs
- WpfXamlMember.cs
- HtmlLabelAdapter.cs
- TraceSwitch.cs
- WorkflowMessageEventHandler.cs
- HtmlHistory.cs
- XmlSchemaSimpleType.cs
- ObjectTokenCategory.cs
- LinqExpressionNormalizer.cs
- PasswordDeriveBytes.cs
- XmlAutoDetectWriter.cs
- UInt64Storage.cs
- XmlBinaryReader.cs
- EmptyEnumerable.cs
- FieldToken.cs
- WebPermission.cs
- NullableIntAverageAggregationOperator.cs
- ExtendedPropertyDescriptor.cs
- UnsafeNativeMethodsPenimc.cs
- SingleResultAttribute.cs
- UnitySerializationHolder.cs
- MdiWindowListStrip.cs
- ExtensionFile.cs
- SqlTrackingWorkflowInstance.cs
- CommonXSendMessage.cs
- DetailsViewUpdateEventArgs.cs
- FontResourceCache.cs
- SpotLight.cs
- SourceChangedEventArgs.cs