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
- Quaternion.cs
- VScrollProperties.cs
- Timeline.cs
- OutputCacheProfile.cs
- CaseStatementProjectedSlot.cs
- OdbcException.cs
- SQLSingle.cs
- Listener.cs
- ExpandoObject.cs
- PageThemeBuildProvider.cs
- PersonalizableAttribute.cs
- FixedTextContainer.cs
- Listbox.cs
- RequestDescription.cs
- IisTraceWebEventProvider.cs
- FigureParagraph.cs
- EntityConnectionStringBuilderItem.cs
- EntityPropertyMappingAttribute.cs
- QuotedPrintableStream.cs
- ProfileEventArgs.cs
- BatchStream.cs
- CodeNamespaceImportCollection.cs
- PreservationFileWriter.cs
- AdjustableArrowCap.cs
- NamespaceDecl.cs
- URLMembershipCondition.cs
- TypeUnloadedException.cs
- ServiceDescriptionSerializer.cs
- MaterialGroup.cs
- ApplicationBuildProvider.cs
- DependencyPropertyKey.cs
- Math.cs
- XpsS0ValidatingLoader.cs
- EntityParameterCollection.cs
- OleCmdHelper.cs
- DataSourceComponent.cs
- SelectionEditingBehavior.cs
- FileEnumerator.cs
- AppSecurityManager.cs
- TemplateComponentConnector.cs
- ResXResourceReader.cs
- CngKeyBlobFormat.cs
- TextServicesContext.cs
- BaseAsyncResult.cs
- CellPartitioner.cs
- SiteMapNode.cs
- PageAsyncTask.cs
- Type.cs
- Matrix3DStack.cs
- RectAnimation.cs
- QueryValue.cs
- StandardRuntimeEnumValidator.cs
- GeometryGroup.cs
- DataServiceQuery.cs
- GrammarBuilder.cs
- SiteMapHierarchicalDataSourceView.cs
- WebPartCatalogAddVerb.cs
- Emitter.cs
- FolderNameEditor.cs
- Signature.cs
- VisualBasicValue.cs
- FolderBrowserDialog.cs
- ResourceReferenceExpressionConverter.cs
- AudioFormatConverter.cs
- FlowLayoutPanel.cs
- EmptyStringExpandableObjectConverter.cs
- SharedPersonalizationStateInfo.cs
- DocumentPaginator.cs
- HyperLink.cs
- PersistenceTypeAttribute.cs
- XappLauncher.cs
- FlowLayoutPanel.cs
- HandledMouseEvent.cs
- ReachPageContentSerializerAsync.cs
- METAHEADER.cs
- PopupEventArgs.cs
- TextServicesContext.cs
- WindowsListViewItem.cs
- IDReferencePropertyAttribute.cs
- Int16Converter.cs
- StringInfo.cs
- ByteArrayHelperWithString.cs
- TraceFilter.cs
- CodeTypeOfExpression.cs
- IPEndPointCollection.cs
- HttpFileCollectionBase.cs
- AsyncResult.cs
- XmlNode.cs
- EnumConverter.cs
- AtlasWeb.Designer.cs
- ServerValidateEventArgs.cs
- RawTextInputReport.cs
- UrlAuthFailedErrorFormatter.cs
- GridViewDesigner.cs
- Application.cs
- ReadWriteObjectLock.cs
- CommandDevice.cs
- SqlBulkCopy.cs
- SQlBooleanStorage.cs
- RelationshipDetailsRow.cs