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
- Command.cs
- WebBrowserNavigatingEventHandler.cs
- EnumConverter.cs
- Baml2006SchemaContext.cs
- EventMappingSettings.cs
- ExpressionBuilderContext.cs
- IntSecurity.cs
- WebBrowserEvent.cs
- ComPlusTypeLoader.cs
- WriteFileContext.cs
- DateTimeConverter.cs
- StreamInfo.cs
- DBSchemaTable.cs
- GetPageCompletedEventArgs.cs
- ImageMetadata.cs
- TargetPerspective.cs
- UpDownBase.cs
- DesignParameter.cs
- XmlSchemaAttributeGroupRef.cs
- Matrix.cs
- XamlFigureLengthSerializer.cs
- InProcStateClientManager.cs
- TokenBasedSetEnumerator.cs
- WindowsClientCredential.cs
- FunctionCommandText.cs
- ModuleBuilderData.cs
- Win32Exception.cs
- ToolStripGrip.cs
- CodeTypeDeclaration.cs
- PagesChangedEventArgs.cs
- UnsafeNativeMethods.cs
- SubMenuStyleCollection.cs
- FunctionParameter.cs
- DataKey.cs
- SqlCacheDependencyDatabaseCollection.cs
- _ShellExpression.cs
- StyleReferenceConverter.cs
- FrameworkElement.cs
- FileSecurity.cs
- MemberPathMap.cs
- ImageCodecInfoPrivate.cs
- GregorianCalendarHelper.cs
- ThreadPoolTaskScheduler.cs
- TextRangeAdaptor.cs
- ProcessHostServerConfig.cs
- Label.cs
- RadioButton.cs
- StrokeRenderer.cs
- ArraySortHelper.cs
- ScriptControlDescriptor.cs
- MessageSecurityProtocol.cs
- MDIControlStrip.cs
- PackageRelationship.cs
- XmlDataContract.cs
- IncrementalCompileAnalyzer.cs
- BasicViewGenerator.cs
- UIntPtr.cs
- TextBox.cs
- WebColorConverter.cs
- GlyphingCache.cs
- AssemblyFilter.cs
- DockAndAnchorLayout.cs
- TextEffectCollection.cs
- DocumentPageHost.cs
- ObjectQuery_EntitySqlExtensions.cs
- IsolatedStorageException.cs
- DataKey.cs
- TextBoxRenderer.cs
- WSHttpBindingElement.cs
- HttpRuntimeSection.cs
- FileClassifier.cs
- MappingItemCollection.cs
- TypeBuilderInstantiation.cs
- XmlSchemaAnnotated.cs
- BasicAsyncResult.cs
- WindowsFormsHostPropertyMap.cs
- DataGridLengthConverter.cs
- BinaryObjectInfo.cs
- BordersPage.cs
- SourceFilter.cs
- Shared.cs
- ToolStripItemDesigner.cs
- TextChangedEventArgs.cs
- NoClickablePointException.cs
- ScriptingSectionGroup.cs
- ColumnMapVisitor.cs
- MediaTimeline.cs
- FormViewDeletedEventArgs.cs
- List.cs
- SqlDataSourceView.cs
- WebServiceReceive.cs
- NativeMethods.cs
- XmlNodeReader.cs
- ClassImporter.cs
- MsmqSecureHashAlgorithm.cs
- Form.cs
- SctClaimDictionary.cs
- ConfigurationValidatorAttribute.cs
- StdValidatorsAndConverters.cs
- TextRangeEditLists.cs