Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / AST / AliasedExpr.cs / 1305376 / AliasedExpr.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; using System.Diagnostics; ////// AST node for an aliased expression. /// internal sealed class AliasedExpr : Node { private readonly Node _expr; private readonly Identifier _alias; ////// Constructs an aliased expression node. /// internal AliasedExpr(Node expr, Identifier alias) { Debug.Assert(expr != null, "expr != null"); Debug.Assert(alias != null, "alias != null"); if (String.IsNullOrEmpty(alias.Name)) { throw EntityUtil.EntitySqlError(alias.ErrCtx, System.Data.Entity.Strings.InvalidEmptyIdentifier); } _expr = expr; _alias = alias; } ////// Constructs an aliased expression node with null alias. /// internal AliasedExpr(Node expr) { Debug.Assert(expr != null, "expr != null"); _expr = expr; } internal Node Expr { get { return _expr; } } ////// Returns expression alias identifier, or null if not aliased. /// internal Identifier Alias { get { return _alias; } } } } // 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
- ListBindableAttribute.cs
- SqlDataSourceStatusEventArgs.cs
- MetadataPropertyAttribute.cs
- TakeQueryOptionExpression.cs
- ObjectReaderCompiler.cs
- FieldMetadata.cs
- ConfigurationLoaderException.cs
- ScrollChrome.cs
- CLRBindingWorker.cs
- ResourcesBuildProvider.cs
- AsyncCompletedEventArgs.cs
- ConfigurationStrings.cs
- LOSFormatter.cs
- ParameterElementCollection.cs
- PointValueSerializer.cs
- DeclarativeCatalogPartDesigner.cs
- BindValidator.cs
- AccessKeyManager.cs
- DataGridViewColumn.cs
- LogExtent.cs
- XamlSerializerUtil.cs
- FormatConvertedBitmap.cs
- UserControlAutomationPeer.cs
- PreProcessInputEventArgs.cs
- Configuration.cs
- SmiGettersStream.cs
- FileDialog.cs
- ListCollectionView.cs
- GroupStyle.cs
- IdentityNotMappedException.cs
- CodeTypeMemberCollection.cs
- PanelContainerDesigner.cs
- Pair.cs
- IDQuery.cs
- ExpressionReplacer.cs
- UICuesEvent.cs
- MaskInputRejectedEventArgs.cs
- InvalidPrinterException.cs
- GenericRootAutomationPeer.cs
- ClientApiGenerator.cs
- DocumentPropertiesDialog.cs
- DataGridViewTopLeftHeaderCell.cs
- AnnotationResourceCollection.cs
- DataGridRowAutomationPeer.cs
- DetailsViewDeleteEventArgs.cs
- webproxy.cs
- WindowsHyperlink.cs
- XmlRawWriterWrapper.cs
- BaseParagraph.cs
- MediaElement.cs
- FormsAuthenticationEventArgs.cs
- WinEventHandler.cs
- SiteMapProvider.cs
- Context.cs
- LocalClientSecuritySettingsElement.cs
- ResourceDictionary.cs
- MouseWheelEventArgs.cs
- DependencyPropertyConverter.cs
- StandardCommands.cs
- HttpListenerRequestTraceRecord.cs
- GridLengthConverter.cs
- BitmapImage.cs
- externdll.cs
- RouteParser.cs
- ServiceDesigner.xaml.cs
- ResXBuildProvider.cs
- FontFaceLayoutInfo.cs
- EncodingTable.cs
- DataBindingsDialog.cs
- ConnectorRouter.cs
- TileBrush.cs
- XmlSchemaProviderAttribute.cs
- DemultiplexingDispatchMessageFormatter.cs
- BindingExpressionUncommonField.cs
- COM2ExtendedUITypeEditor.cs
- ScrollViewerAutomationPeer.cs
- XslTransform.cs
- AccessorTable.cs
- FixedSchema.cs
- WebConfigurationFileMap.cs
- ExpressionBindingCollection.cs
- HttpCacheParams.cs
- FailedToStartupUIException.cs
- TemplatePropertyEntry.cs
- RowUpdatedEventArgs.cs
- StreamReader.cs
- AsnEncodedData.cs
- PrintControllerWithStatusDialog.cs
- AlternateViewCollection.cs
- CollectionChangeEventArgs.cs
- DoubleCollection.cs
- TablePattern.cs
- TextSpanModifier.cs
- ItemType.cs
- HandleRef.cs
- BaseTemplateCodeDomTreeGenerator.cs
- ComEventsSink.cs
- ContactManager.cs
- DataGridViewRowStateChangedEventArgs.cs
- RelationshipFixer.cs