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
- TimestampInformation.cs
- ErrorEventArgs.cs
- ProfileServiceManager.cs
- ConstructorNeedsTagAttribute.cs
- Verify.cs
- BitmapCache.cs
- _DisconnectOverlappedAsyncResult.cs
- SettingsPropertyCollection.cs
- XmlStreamNodeWriter.cs
- Int64Storage.cs
- FlowDocumentReaderAutomationPeer.cs
- StringFunctions.cs
- ThreadNeutralSemaphore.cs
- WebServiceMethodData.cs
- Oid.cs
- KeyboardEventArgs.cs
- SchemaHelper.cs
- oledbmetadatacollectionnames.cs
- ActivityExecutorDelegateInfo.cs
- ScrollableControl.cs
- EntityDataSourceContextCreatingEventArgs.cs
- EventMap.cs
- UTF8Encoding.cs
- CompiledIdentityConstraint.cs
- AjaxFrameworkAssemblyAttribute.cs
- ButtonFlatAdapter.cs
- ErrorEventArgs.cs
- FileRecordSequenceHelper.cs
- DbConnectionPool.cs
- SourceInterpreter.cs
- ExtractCollection.cs
- ConfigViewGenerator.cs
- XmlLanguageConverter.cs
- ResourceProviderFactory.cs
- SynchronizedDispatch.cs
- IOThreadTimer.cs
- FastEncoder.cs
- ProfileProvider.cs
- HttpWebRequest.cs
- WrappedIUnknown.cs
- KnownTypesHelper.cs
- Camera.cs
- WebExceptionStatus.cs
- AssertFilter.cs
- SimplePropertyEntry.cs
- PathSegmentCollection.cs
- HtmlInputReset.cs
- EncoderReplacementFallback.cs
- Helper.cs
- DocumentXPathNavigator.cs
- TextPatternIdentifiers.cs
- InputLanguageSource.cs
- FileUtil.cs
- XamlRtfConverter.cs
- ApplyImportsAction.cs
- SchemaTypeEmitter.cs
- Viewport2DVisual3D.cs
- FixedStringLookup.cs
- XmlConverter.cs
- SecurityTokenTypes.cs
- RelationshipEndCollection.cs
- WindowsListViewScroll.cs
- SafeNativeMemoryHandle.cs
- JumpPath.cs
- DataGridToolTip.cs
- TemplateNameScope.cs
- PassportAuthentication.cs
- ConditionalBranch.cs
- TraceFilter.cs
- CurrentTimeZone.cs
- UntrustedRecipientException.cs
- FormatterServices.cs
- DataSourceControl.cs
- SettingsSection.cs
- Graph.cs
- TextTreeInsertUndoUnit.cs
- QueryStringParameter.cs
- ReadContentAsBinaryHelper.cs
- SID.cs
- UIElement3D.cs
- MonthCalendarDesigner.cs
- ActivityCollectionMarkupSerializer.cs
- Normalization.cs
- RepeatBehaviorConverter.cs
- DesignTimeVisibleAttribute.cs
- EntityViewGenerationConstants.cs
- WorkflowWebHostingModule.cs
- ThreadInterruptedException.cs
- FormsAuthenticationCredentials.cs
- ProviderConnectionPoint.cs
- TextEditorSpelling.cs
- DrawingCollection.cs
- LayoutTableCell.cs
- WebPartCatalogCloseVerb.cs
- WorkflowApplicationCompletedEventArgs.cs
- LocalizableResourceBuilder.cs
- ResourceDescriptionAttribute.cs
- xmlglyphRunInfo.cs
- WorkflowHostingResponseContext.cs
- WindowsImpersonationContext.cs