Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Common / EntitySql / AST / NamespaceImport.cs / 1305376 / NamespaceImport.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 an ast node for namespace import (using nsABC;) /// internal sealed class NamespaceImport : Node { private readonly Identifier _namespaceAlias; private readonly Node _namespaceName; ////// Initializes a single name import. /// internal NamespaceImport(Identifier idenitifier) { _namespaceName = idenitifier; } ////// Initializes a single name import. /// internal NamespaceImport(DotExpr dorExpr) { _namespaceName = dorExpr; } ////// Initializes aliased import. /// internal NamespaceImport(BuiltInExpr bltInExpr) { _namespaceAlias = null; Identifier aliasId = bltInExpr.Arg1 as Identifier; if (aliasId == null) { throw EntityUtil.EntitySqlError(bltInExpr.Arg1.ErrCtx, System.Data.Entity.Strings.InvalidNamespaceAlias); } _namespaceAlias = aliasId; _namespaceName = bltInExpr.Arg2; } ////// Returns ns alias id if exists. /// internal Identifier Alias { get { return _namespaceAlias; } } ////// Returns namespace name. /// internal Node NamespaceName { get { return _namespaceName; } } } } // 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
- CompressEmulationStream.cs
- MessageDirection.cs
- Size.cs
- HttpClientCertificate.cs
- PrintDocument.cs
- SqlUnionizer.cs
- SafeFileMappingHandle.cs
- AccessorTable.cs
- SmtpReplyReader.cs
- HtmlInputRadioButton.cs
- CharacterBufferReference.cs
- ThemeableAttribute.cs
- OdbcParameter.cs
- JpegBitmapEncoder.cs
- BrushMappingModeValidation.cs
- SocketStream.cs
- _WebProxyDataBuilder.cs
- TypeConverter.cs
- DelegateCompletionCallbackWrapper.cs
- OleDbDataReader.cs
- MethodBody.cs
- HostingEnvironmentException.cs
- ProvideValueServiceProvider.cs
- GridViewSelectEventArgs.cs
- FileDialogCustomPlacesCollection.cs
- XPathNavigator.cs
- Stopwatch.cs
- FixedHyperLink.cs
- RadioButtonList.cs
- FrameworkElementAutomationPeer.cs
- EndpointConfigContainer.cs
- WindowsListViewSubItem.cs
- RegionInfo.cs
- BamlBinaryWriter.cs
- InstanceDataCollection.cs
- GC.cs
- BitmapMetadata.cs
- UpdatableWrapper.cs
- StructuralType.cs
- SectionXmlInfo.cs
- _NestedSingleAsyncResult.cs
- InvalidPrinterException.cs
- PersonalizableAttribute.cs
- TrustSection.cs
- HttpPostProtocolImporter.cs
- SafeTokenHandle.cs
- ActionItem.cs
- PtsHost.cs
- InvalidOleVariantTypeException.cs
- DynamicHyperLink.cs
- ExtensionFile.cs
- ApplicationCommands.cs
- CommandExpr.cs
- BuildResult.cs
- TrackingProfileCache.cs
- IPAddress.cs
- WebPartZone.cs
- SqlConnectionPoolGroupProviderInfo.cs
- VariableExpressionConverter.cs
- ContractValidationHelper.cs
- MethodBuilder.cs
- XmlReaderSettings.cs
- ListBoxAutomationPeer.cs
- IndexedString.cs
- _LazyAsyncResult.cs
- XmlSchemaComplexType.cs
- SqlLiftIndependentRowExpressions.cs
- DbConnectionStringBuilder.cs
- Control.cs
- DataControlButton.cs
- ImportCatalogPart.cs
- ServiceInfo.cs
- CodeAttributeDeclarationCollection.cs
- RootDesignerSerializerAttribute.cs
- TextAnchor.cs
- ControlIdConverter.cs
- SqlDataSourceCommandEventArgs.cs
- InvokePattern.cs
- DetailsViewUpdatedEventArgs.cs
- InternalPermissions.cs
- ServiceOperationParameter.cs
- MetaDataInfo.cs
- ISAPIApplicationHost.cs
- XmlMemberMapping.cs
- userdatakeys.cs
- Graphics.cs
- SaveFileDialog.cs
- HttpCachePolicyElement.cs
- XmlSchemas.cs
- XmlAttributeHolder.cs
- MobileListItemCollection.cs
- Storyboard.cs
- CachedRequestParams.cs
- RowParagraph.cs
- ServiceControllerDesigner.cs
- XPathQilFactory.cs
- SecurityTimestamp.cs
- StorageEntityContainerMapping.cs
- ServiceBusyException.cs
- VariableAction.cs