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
- ProxyHelper.cs
- DrawListViewColumnHeaderEventArgs.cs
- EncoderReplacementFallback.cs
- recordstate.cs
- QuadraticBezierSegment.cs
- PerformanceCounterPermission.cs
- UInt64Storage.cs
- ServicePointManager.cs
- XmlWhitespace.cs
- DataControlButton.cs
- List.cs
- CodeNamespaceCollection.cs
- ThreadExceptionDialog.cs
- FileUpload.cs
- ReceiveErrorHandling.cs
- DateTimeConverter.cs
- View.cs
- BrushConverter.cs
- DataGridViewTextBoxCell.cs
- ProxyWebPartConnectionCollection.cs
- VectorAnimation.cs
- EntityModelSchemaGenerator.cs
- _SslSessionsCache.cs
- Collection.cs
- TraceUtility.cs
- _ListenerRequestStream.cs
- SemanticResultValue.cs
- OracleDateTime.cs
- HybridDictionary.cs
- PerformanceCounterLib.cs
- PrintingPermission.cs
- MemberAccessException.cs
- DependencyPropertyAttribute.cs
- DecoderFallback.cs
- DesignerToolboxInfo.cs
- TimeSpanParse.cs
- DataRelationPropertyDescriptor.cs
- Single.cs
- SchemaDeclBase.cs
- X509Certificate.cs
- CodeGenerationManager.cs
- PkcsUtils.cs
- ToolStripPanel.cs
- StylusCaptureWithinProperty.cs
- ObfuscationAttribute.cs
- MetadataItem.cs
- _LocalDataStoreMgr.cs
- User.cs
- IsolatedStorageFilePermission.cs
- ReaderWriterLockWrapper.cs
- keycontainerpermission.cs
- SqlDataSourceAdvancedOptionsForm.cs
- AssemblyFilter.cs
- XmlWrappingWriter.cs
- ConfigurationProperty.cs
- XmlExpressionDumper.cs
- StorageEntityContainerMapping.cs
- coordinatorfactory.cs
- _LocalDataStore.cs
- RegionData.cs
- RegexCaptureCollection.cs
- DataGridViewUtilities.cs
- DbConnectionPool.cs
- FunctionDetailsReader.cs
- SHA1Managed.cs
- PropertyEmitter.cs
- VariableAction.cs
- WorkflowInstanceRecord.cs
- ForEach.cs
- StringArrayEditor.cs
- TripleDES.cs
- IDictionary.cs
- DataContractAttribute.cs
- BooleanAnimationBase.cs
- Rules.cs
- ControlAdapter.cs
- ErrorFormatterPage.cs
- PointHitTestResult.cs
- CredentialManagerDialog.cs
- CultureTableRecord.cs
- latinshape.cs
- SqlDependencyUtils.cs
- DataTable.cs
- ColorMap.cs
- DemultiplexingClientMessageFormatter.cs
- XmlQueryRuntime.cs
- FileDialogCustomPlace.cs
- BreakRecordTable.cs
- ComboBoxAutomationPeer.cs
- RenderTargetBitmap.cs
- BitmapMetadataEnumerator.cs
- TypedServiceOperationListItem.cs
- ArgumentException.cs
- HttpRuntime.cs
- SecureStringHasher.cs
- UIElementPropertyUndoUnit.cs
- VisualCollection.cs
- LexicalChunk.cs
- ListControlConvertEventArgs.cs
- OleDbConnectionInternal.cs