Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / AST / CaseExpr.cs / 1305376 / CaseExpr.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- namespace System.Data.Common.EntitySql.AST { using System; using System.Globalization; using System.Collections; using System.Collections.Generic; ////// Represents the Seached Case Expression - CASE WHEN THEN [ELSE] END. /// internal sealed class CaseExpr : Node { private readonly NodeList_whenThenExpr; private readonly Node _elseExpr; /// /// Initializes case expression without else sub-expression. /// /// whenThen expression list internal CaseExpr(NodeListwhenThenExpr) : this(whenThenExpr, null) { } /// /// Initializes case expression with else sub-expression. /// /// whenThen expression list /// else expression internal CaseExpr(NodeListwhenThenExpr, Node elseExpr) { _whenThenExpr = whenThenExpr; _elseExpr = elseExpr; } /// /// Returns the list of WhenThen expressions. /// internal NodeListWhenThenExprList { get { return _whenThenExpr; } } /// /// Returns the optional Else expression. /// internal Node ElseExpr { get { return _elseExpr; } } } ////// Represents the when then sub expression. /// internal class WhenThenExpr : Node { private readonly Node _whenExpr; private readonly Node _thenExpr; ////// Initializes WhenThen sub-expression. /// /// When expression /// Then expression internal WhenThenExpr(Node whenExpr, Node thenExpr) { _whenExpr = whenExpr; _thenExpr = thenExpr; } ////// Returns When expression. /// internal Node WhenExpr { get { return _whenExpr; } } ////// Returns Then Expression. /// internal Node ThenExpr { get { return _thenExpr; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- State.cs
- RSAProtectedConfigurationProvider.cs
- SharedHttpTransportManager.cs
- PersonalizableTypeEntry.cs
- CodeVariableDeclarationStatement.cs
- AnnotationMap.cs
- SqlIdentifier.cs
- ReferenceSchema.cs
- InstanceDescriptor.cs
- bidPrivateBase.cs
- ClassDataContract.cs
- Barrier.cs
- HTMLTagNameToTypeMapper.cs
- BitArray.cs
- TextDataBindingHandler.cs
- DataGridAddNewRow.cs
- TextView.cs
- LinqDataSourceUpdateEventArgs.cs
- Models.cs
- FindCompletedEventArgs.cs
- ClientUrlResolverWrapper.cs
- Positioning.cs
- CssTextWriter.cs
- MD5HashHelper.cs
- OdbcCommandBuilder.cs
- DataExchangeServiceBinder.cs
- SourceFileInfo.cs
- ListViewItem.cs
- Html32TextWriter.cs
- AnonymousIdentificationSection.cs
- MenuStrip.cs
- GeneralTransform.cs
- GroupBoxRenderer.cs
- TypeCodeDomSerializer.cs
- WebHttpBehavior.cs
- SystemUdpStatistics.cs
- HighlightComponent.cs
- FixedSOMLineCollection.cs
- JavaScriptString.cs
- AsyncPostBackErrorEventArgs.cs
- SerializationSectionGroup.cs
- SegmentInfo.cs
- TitleStyle.cs
- RemoteWebConfigurationHostServer.cs
- XmlSerializationGeneratedCode.cs
- EntityConnection.cs
- Vector3DAnimationUsingKeyFrames.cs
- DiagnosticsConfigurationHandler.cs
- DataSourceConverter.cs
- RequestTimeoutManager.cs
- TextPatternIdentifiers.cs
- WindowsTreeView.cs
- SubclassTypeValidatorAttribute.cs
- TableStyle.cs
- FrameworkContentElement.cs
- TabControl.cs
- ModifiableIteratorCollection.cs
- TypedDatasetGenerator.cs
- WebPartChrome.cs
- IndependentlyAnimatedPropertyMetadata.cs
- VisualStateChangedEventArgs.cs
- DynamicValidatorEventArgs.cs
- Control.cs
- _DisconnectOverlappedAsyncResult.cs
- WebPartEditorApplyVerb.cs
- LexicalChunk.cs
- HttpInputStream.cs
- AdornerHitTestResult.cs
- WebCategoryAttribute.cs
- StaticFileHandler.cs
- ChameleonKey.cs
- HttpWriter.cs
- ContextQuery.cs
- PipelineModuleStepContainer.cs
- ScaleTransform.cs
- __ConsoleStream.cs
- DesignerOptionService.cs
- SamlSecurityToken.cs
- SrgsRulesCollection.cs
- Operator.cs
- Collection.cs
- DataGridClipboardCellContent.cs
- OdbcConnection.cs
- UiaCoreProviderApi.cs
- CodeLabeledStatement.cs
- DragDropManager.cs
- DesignerLoader.cs
- ADConnectionHelper.cs
- ComboBox.cs
- IssuanceTokenProviderBase.cs
- XhtmlBasicLinkAdapter.cs
- DataServiceRequest.cs
- DataGridViewColumnEventArgs.cs
- ReceiveReply.cs
- WriterOutput.cs
- WizardSideBarListControlItem.cs
- ProbeDuplex11AsyncResult.cs
- CommandDesigner.cs
- SqlReorderer.cs
- SectionRecord.cs