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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataList.cs
- AffineTransform3D.cs
- SQLInt16Storage.cs
- CodeMemberField.cs
- XmlUtil.cs
- DesignOnlyAttribute.cs
- InputScope.cs
- AtomMaterializerLog.cs
- EventProviderWriter.cs
- MessageDescription.cs
- SQLBytesStorage.cs
- RepeatBehavior.cs
- KeyboardEventArgs.cs
- CacheDependency.cs
- ValueProviderWrapper.cs
- GlobalDataBindingHandler.cs
- ShaderEffect.cs
- BitmapMetadataEnumerator.cs
- DataBoundControlAdapter.cs
- SimpleTableProvider.cs
- PackWebResponse.cs
- OleDbParameterCollection.cs
- dataprotectionpermissionattribute.cs
- HitTestWithPointDrawingContextWalker.cs
- DetailsViewDeleteEventArgs.cs
- BrowsableAttribute.cs
- StringValidator.cs
- ISAPIWorkerRequest.cs
- SafePEFileHandle.cs
- LineMetrics.cs
- UnsafeCollabNativeMethods.cs
- lengthconverter.cs
- ConstraintStruct.cs
- AppDomain.cs
- PanelStyle.cs
- ConfigXmlDocument.cs
- SystemIPv4InterfaceProperties.cs
- Filter.cs
- TableSectionStyle.cs
- ClonableStack.cs
- StopStoryboard.cs
- NumericPagerField.cs
- StatusBarDrawItemEvent.cs
- NumberFunctions.cs
- StateElementCollection.cs
- DataGridViewIntLinkedList.cs
- WebProxyScriptElement.cs
- SqlMethods.cs
- ConnectionProviderAttribute.cs
- Parameter.cs
- ReferencedCollectionType.cs
- TabOrder.cs
- DesignTimeTemplateParser.cs
- SubstitutionDesigner.cs
- TextTreeNode.cs
- Transactions.cs
- ListItemsPage.cs
- CollectionContainer.cs
- ADMembershipUser.cs
- CodeNamespaceCollection.cs
- PlaceHolder.cs
- Binding.cs
- SkinIDTypeConverter.cs
- Rect.cs
- SchemaNotation.cs
- TypeDescriptor.cs
- ThemeConfigurationDialog.cs
- EndEvent.cs
- GuidConverter.cs
- ObjectAnimationUsingKeyFrames.cs
- RadioButtonList.cs
- ElementProxy.cs
- SpecularMaterial.cs
- FrameworkContextData.cs
- EncoderFallback.cs
- TransactionValidationBehavior.cs
- SqlUDTStorage.cs
- _AuthenticationState.cs
- HtmlControlPersistable.cs
- _ContextAwareResult.cs
- sqlmetadatafactory.cs
- HTMLTextWriter.cs
- ItemCollection.cs
- WorkflowInlining.cs
- OleDbEnumerator.cs
- ContentOperations.cs
- BehaviorEditorPart.cs
- XmlDocument.cs
- ConstraintManager.cs
- ContextMenuStrip.cs
- ADConnectionHelper.cs
- TreeNodeBinding.cs
- Command.cs
- PageParser.cs
- _LocalDataStore.cs
- XComponentModel.cs
- IncrementalReadDecoders.cs
- Rect3DConverter.cs
- SamlSecurityTokenAuthenticator.cs
- XmlSchemaSimpleContentExtension.cs