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
- ActivationWorker.cs
- GridItemPattern.cs
- ToolStripItemTextRenderEventArgs.cs
- MethodBuilder.cs
- MachineKeySection.cs
- DataShape.cs
- odbcmetadatacollectionnames.cs
- SettingsSection.cs
- DataGridViewMethods.cs
- SplineKeyFrames.cs
- InstanceCreationEditor.cs
- SqlCaseSimplifier.cs
- VectorCollection.cs
- BuildProvider.cs
- LayoutEvent.cs
- XmlNamespaceDeclarationsAttribute.cs
- XPathArrayIterator.cs
- WebPartEditorOkVerb.cs
- Panel.cs
- Selector.cs
- DataRow.cs
- FloatUtil.cs
- PointHitTestParameters.cs
- IdnElement.cs
- ProxySimple.cs
- PersonalizationProvider.cs
- HitTestParameters3D.cs
- httpstaticobjectscollection.cs
- HMACSHA256.cs
- ZipIOLocalFileDataDescriptor.cs
- RbTree.cs
- Internal.cs
- CheckedPointers.cs
- RoleGroupCollectionEditor.cs
- PropertyEmitter.cs
- ConstNode.cs
- FixedDocumentSequencePaginator.cs
- DeferredBinaryDeserializerExtension.cs
- AppSettingsExpressionBuilder.cs
- FolderLevelBuildProvider.cs
- VectorKeyFrameCollection.cs
- UIElementHelper.cs
- DocumentPaginator.cs
- RuleConditionDialog.cs
- SqlCacheDependencySection.cs
- JsonGlobals.cs
- IImplicitResourceProvider.cs
- AssociationSetMetadata.cs
- StringAttributeCollection.cs
- SlipBehavior.cs
- CodePageEncoding.cs
- ConfigurationElementProperty.cs
- VisualStateGroup.cs
- PointLightBase.cs
- TypeReference.cs
- RNGCryptoServiceProvider.cs
- CallbackTimeoutsBehavior.cs
- HttpChannelFactory.cs
- CodePrimitiveExpression.cs
- VisualBrush.cs
- safex509handles.cs
- DeploymentSectionCache.cs
- DecimalStorage.cs
- DependencyObject.cs
- SignedXml.cs
- MediaPlayer.cs
- TransformCollection.cs
- ConnectionsZone.cs
- FillRuleValidation.cs
- BeginStoryboard.cs
- CrossContextChannel.cs
- ICspAsymmetricAlgorithm.cs
- XmlSchemaValidationException.cs
- ResourcesBuildProvider.cs
- XmlRootAttribute.cs
- VisualTarget.cs
- DataServiceException.cs
- ViewBox.cs
- ToolStripLabel.cs
- WindowsFormsLinkLabel.cs
- Instrumentation.cs
- WebPartRestoreVerb.cs
- BadImageFormatException.cs
- ToolboxComponentsCreatedEventArgs.cs
- CustomExpressionEventArgs.cs
- MasterPageParser.cs
- CreatingCookieEventArgs.cs
- EntityDesignerDataSourceView.cs
- StructuredType.cs
- DocumentOrderQuery.cs
- OAVariantLib.cs
- TouchesCapturedWithinProperty.cs
- UnicodeEncoding.cs
- TTSEngineProxy.cs
- CompiledRegexRunner.cs
- AnnouncementEventArgs.cs
- CodeMemberEvent.cs
- MemberInfoSerializationHolder.cs
- DataGridViewHeaderCell.cs
- EnumConverter.cs