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
- ToolStripDropDownMenu.cs
- HostingEnvironmentException.cs
- AssemblySettingAttributes.cs
- WorkflowDesignerColors.cs
- WebPartHelpVerb.cs
- ControlValuePropertyAttribute.cs
- LocalizabilityAttribute.cs
- _NetRes.cs
- AssemblyName.cs
- ComponentChangingEvent.cs
- SqlNamer.cs
- Stylesheet.cs
- PageMediaType.cs
- _UriTypeConverter.cs
- DataTemplateSelector.cs
- CompressionTransform.cs
- SqlXmlStorage.cs
- MappingModelBuildProvider.cs
- ListViewPagedDataSource.cs
- ScrollProperties.cs
- TypeSource.cs
- ToolStripProgressBar.cs
- ScopelessEnumAttribute.cs
- entitydatasourceentitysetnameconverter.cs
- MsmqHostedTransportConfiguration.cs
- AsymmetricKeyExchangeFormatter.cs
- ReturnType.cs
- InputBinder.cs
- WebPartsSection.cs
- ComAwareEventInfo.cs
- Thread.cs
- WebBrowserNavigatedEventHandler.cs
- IndexerNameAttribute.cs
- SettingsBase.cs
- mediaclock.cs
- ViewManager.cs
- DiscardableAttribute.cs
- BoundPropertyEntry.cs
- DataKeyArray.cs
- FillRuleValidation.cs
- bidPrivateBase.cs
- TypeResolver.cs
- DataContext.cs
- ProxyHwnd.cs
- TextModifier.cs
- SettingsPropertyCollection.cs
- CodeGenerationManager.cs
- EdmSchemaAttribute.cs
- CodeCastExpression.cs
- SymbolUsageManager.cs
- RenderDataDrawingContext.cs
- OperationResponse.cs
- QilStrConcatenator.cs
- GridSplitterAutomationPeer.cs
- ISCIIEncoding.cs
- SimpleRecyclingCache.cs
- TextContainerChangedEventArgs.cs
- DynamicResourceExtension.cs
- ColorContextHelper.cs
- StrokeFIndices.cs
- TextParagraph.cs
- OciHandle.cs
- XmlIncludeAttribute.cs
- SQLDecimalStorage.cs
- complextypematerializer.cs
- MouseOverProperty.cs
- CounterSet.cs
- DbReferenceCollection.cs
- ContractMapping.cs
- RewritingSimplifier.cs
- SyntaxCheck.cs
- metadatamappinghashervisitor.cs
- Label.cs
- SoapFormatter.cs
- BinaryUtilClasses.cs
- Exceptions.cs
- DiagnosticsConfigurationHandler.cs
- SortAction.cs
- GenericRootAutomationPeer.cs
- MemoryResponseElement.cs
- RightsManagementInformation.cs
- FirstMatchCodeGroup.cs
- MessageQueueException.cs
- StrokeNodeOperations.cs
- HelpFileFileNameEditor.cs
- CheckBoxStandardAdapter.cs
- SiteMapDataSourceView.cs
- ResourceContainer.cs
- BitmapEffectRenderDataResource.cs
- PointHitTestParameters.cs
- IsolatedStorageFile.cs
- RequestCachePolicy.cs
- CssClassPropertyAttribute.cs
- DataGridrowEditEndingEventArgs.cs
- KeyboardDevice.cs
- DataGridRowHeaderAutomationPeer.cs
- MatrixConverter.cs
- ArithmeticException.cs
- SqlMethodCallConverter.cs
- HttpProfileGroupBase.cs