Code:
/ 4.0 / 4.0 / 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. /// // 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
- XamlStream.cs
- documentation.cs
- RSAOAEPKeyExchangeFormatter.cs
- AdornerPresentationContext.cs
- Pointer.cs
- HostProtectionException.cs
- Operator.cs
- CellTreeNodeVisitors.cs
- SqlErrorCollection.cs
- XmlSerializerSection.cs
- KeyConstraint.cs
- ConstantCheck.cs
- XmlAnyElementAttribute.cs
- HtmlInputControl.cs
- LocatorPartList.cs
- ObjectHelper.cs
- IndentedWriter.cs
- ShellProvider.cs
- DetailsViewPagerRow.cs
- ParameterCollection.cs
- CodeDomSerializerException.cs
- BrowserCapabilitiesFactoryBase.cs
- SystemSounds.cs
- CodeCastExpression.cs
- BinaryObjectReader.cs
- StringValidatorAttribute.cs
- CompatibleIComparer.cs
- DocumentReference.cs
- ReferenceSchema.cs
- CommonServiceBehaviorElement.cs
- ToolboxItemAttribute.cs
- CachingHintValidation.cs
- Wildcard.cs
- RequestQueue.cs
- Exceptions.cs
- NodeLabelEditEvent.cs
- PropertyGridEditorPart.cs
- StylusPointPropertyInfo.cs
- OSFeature.cs
- DocumentPageTextView.cs
- COM2ExtendedBrowsingHandler.cs
- ResourceKey.cs
- HtmlElementCollection.cs
- Decorator.cs
- UserControl.cs
- NumberFormatter.cs
- OdbcConnectionString.cs
- XmlAnyAttributeAttribute.cs
- TTSVoice.cs
- PropVariant.cs
- NumberEdit.cs
- SwitchElementsCollection.cs
- CodeAccessSecurityEngine.cs
- BuildProvidersCompiler.cs
- DataGridViewTextBoxCell.cs
- OleDbFactory.cs
- securitycriticaldataClass.cs
- LineMetrics.cs
- SecurityUtils.cs
- BuildDependencySet.cs
- followingsibling.cs
- CompoundFileReference.cs
- SyndicationContent.cs
- SafeFileMappingHandle.cs
- SymbolTable.cs
- ConfigurationValue.cs
- PropertyGrid.cs
- HttpRawResponse.cs
- cookiecontainer.cs
- PointConverter.cs
- UInt16Converter.cs
- SchemaNamespaceManager.cs
- GenericEnumerator.cs
- SHA384Cng.cs
- XPathNavigatorException.cs
- OrderByQueryOptionExpression.cs
- Separator.cs
- IDataContractSurrogate.cs
- Win32SafeHandles.cs
- OleDbDataReader.cs
- HeaderedContentControl.cs
- TextElement.cs
- While.cs
- LightweightCodeGenerator.cs
- AccessViolationException.cs
- Misc.cs
- StackSpiller.cs
- securitycriticaldataClass.cs
- LayoutUtils.cs
- FormViewInsertedEventArgs.cs
- TraceLog.cs
- TimeManager.cs
- RichTextBoxConstants.cs
- DataTemplate.cs
- SuppressedPackageProperties.cs
- SkewTransform.cs
- ExtensionSimplifierMarkupObject.cs
- FontStretches.cs
- recordstatefactory.cs
- DiscardableAttribute.cs