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
- FigureParagraph.cs
- ArgumentException.cs
- AcceleratedTokenAuthenticator.cs
- Point3DCollectionConverter.cs
- SelectManyQueryOperator.cs
- IImplicitResourceProvider.cs
- CFStream.cs
- TemplateKeyConverter.cs
- ActivityInterfaces.cs
- WebPartConnection.cs
- SqlComparer.cs
- HttpHandlersSection.cs
- PageCatalogPart.cs
- KnownTypesProvider.cs
- HttpsHostedTransportConfiguration.cs
- DataTableReaderListener.cs
- ValidationHelpers.cs
- XmlEntityReference.cs
- StateItem.cs
- RankException.cs
- XmlBinaryReader.cs
- SQLBinary.cs
- ManagedWndProcTracker.cs
- KeyPressEvent.cs
- ArgumentException.cs
- lengthconverter.cs
- ItemContainerProviderWrapper.cs
- SocketConnection.cs
- Help.cs
- ColumnMapTranslator.cs
- MappingSource.cs
- HashAlgorithm.cs
- GridViewRowPresenter.cs
- GlyphInfoList.cs
- TextServicesLoader.cs
- SourceLocationProvider.cs
- FontFamilyIdentifier.cs
- DispatcherFrame.cs
- RowType.cs
- CngKey.cs
- PostBackTrigger.cs
- TextPattern.cs
- HtmlControl.cs
- _ContextAwareResult.cs
- BinHexEncoder.cs
- SettingsBase.cs
- VarRefManager.cs
- ObjectTag.cs
- RoutedUICommand.cs
- XamlContextStack.cs
- ContainerControl.cs
- TableStyle.cs
- HttpCacheVaryByContentEncodings.cs
- DocumentReferenceCollection.cs
- Sql8ExpressionRewriter.cs
- DelayedRegex.cs
- TrackingMemoryStreamFactory.cs
- InternalTransaction.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- Debug.cs
- DataGridTablesFactory.cs
- IntegerFacetDescriptionElement.cs
- ReaderContextStackData.cs
- Quad.cs
- Decimal.cs
- ReadOnlyAttribute.cs
- COM2ExtendedBrowsingHandler.cs
- DragCompletedEventArgs.cs
- UTF32Encoding.cs
- WSDualHttpBindingCollectionElement.cs
- MimeImporter.cs
- TripleDES.cs
- NGCSerializerAsync.cs
- CodeCommentStatementCollection.cs
- ToolStripHighContrastRenderer.cs
- XPathMessageFilterTable.cs
- Imaging.cs
- OleDbDataAdapter.cs
- GridSplitter.cs
- DbBuffer.cs
- DataSourceCache.cs
- TextRangeSerialization.cs
- ScaleTransform3D.cs
- Walker.cs
- UnsafeNativeMethods.cs
- mediaeventargs.cs
- Switch.cs
- odbcmetadatacollectionnames.cs
- CursorInteropHelper.cs
- VisualStyleRenderer.cs
- PageParserFilter.cs
- ComponentDispatcher.cs
- SqlDataSourceStatusEventArgs.cs
- ItemMap.cs
- Deserializer.cs
- SerializationInfo.cs
- DBConnection.cs
- RegionIterator.cs
- ReferenceAssemblyAttribute.cs
- XmlSchemaSimpleType.cs