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
- WebRequestModuleElement.cs
- HelpOperationInvoker.cs
- SHA512Managed.cs
- NegotiateStream.cs
- EncryptedXml.cs
- StreamSecurityUpgradeProvider.cs
- EntityKeyElement.cs
- KerberosReceiverSecurityToken.cs
- GridEntryCollection.cs
- IndentTextWriter.cs
- StatusBarPanelClickEvent.cs
- Documentation.cs
- XmlProcessingInstruction.cs
- BuildManagerHost.cs
- ConvertTextFrag.cs
- ItemsChangedEventArgs.cs
- UnitControl.cs
- ProcessInputEventArgs.cs
- TripleDESCryptoServiceProvider.cs
- GlyphRunDrawing.cs
- ObjectTag.cs
- ConfigXmlComment.cs
- SynchronizedPool.cs
- SqlXml.cs
- ColorDialog.cs
- Range.cs
- HtmlTableRowCollection.cs
- SchemaExporter.cs
- LoginUtil.cs
- QueryExpr.cs
- SoapAttributes.cs
- ExpandableObjectConverter.cs
- QueuePathDialog.cs
- IPEndPoint.cs
- URLIdentityPermission.cs
- RtfControls.cs
- PersistenceException.cs
- ToolStripItemImageRenderEventArgs.cs
- AppDomainUnloadedException.cs
- InternalBufferOverflowException.cs
- ReferencedAssembly.cs
- ProfileSection.cs
- AssemblyHash.cs
- CallbackHandler.cs
- ProfileInfo.cs
- TextTreeUndo.cs
- recordstate.cs
- WinInet.cs
- BuildProvider.cs
- RawStylusInput.cs
- UserControlParser.cs
- DataGridViewBand.cs
- ContextStack.cs
- AncillaryOps.cs
- ProvideValueServiceProvider.cs
- FlagPanel.cs
- XmlIlGenerator.cs
- SplitContainer.cs
- BaseCollection.cs
- _Win32.cs
- UntypedNullExpression.cs
- OracleMonthSpan.cs
- SafeLocalMemHandle.cs
- WindowsListViewItem.cs
- DataGridTablesFactory.cs
- Transform.cs
- PositiveTimeSpanValidatorAttribute.cs
- MouseDevice.cs
- WindowsFormsSectionHandler.cs
- Win32Exception.cs
- DrawingState.cs
- MouseDevice.cs
- HttpCapabilitiesEvaluator.cs
- ThreadStateException.cs
- BitmapEffectGeneralTransform.cs
- Int16.cs
- EndOfStreamException.cs
- NonSerializedAttribute.cs
- ConfigurationValidatorBase.cs
- ValidatingCollection.cs
- Propagator.Evaluator.cs
- HttpDebugHandler.cs
- SequentialWorkflowHeaderFooter.cs
- Internal.cs
- ManagementOptions.cs
- WinEventTracker.cs
- WebScriptServiceHostFactory.cs
- TemplateDefinition.cs
- ExtensionWindowHeader.cs
- StoreItemCollection.Loader.cs
- RIPEMD160.cs
- PropertyInfo.cs
- SaveCardRequest.cs
- StateFinalizationActivity.cs
- MsmqIntegrationBinding.cs
- TaiwanLunisolarCalendar.cs
- SafeNativeMethods.cs
- ProfileGroupSettingsCollection.cs
- VirtualDirectoryMapping.cs
- UIElement3D.cs