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
- XmlTextReader.cs
- AddInEnvironment.cs
- CryptoKeySecurity.cs
- MessageLoggingFilterTraceRecord.cs
- KeyValueConfigurationElement.cs
- StyleBamlTreeBuilder.cs
- FontInfo.cs
- XmlSchemaAll.cs
- IISUnsafeMethods.cs
- SrgsElementList.cs
- ContextMenu.cs
- RedirectionProxy.cs
- ElementHostPropertyMap.cs
- Validator.cs
- ClientConfigurationHost.cs
- CodeTypeMemberCollection.cs
- ScriptResourceInfo.cs
- InputQueue.cs
- MenuCommand.cs
- DifferencingCollection.cs
- DataGridViewCellStateChangedEventArgs.cs
- UniqueConstraint.cs
- DataGridSortingEventArgs.cs
- HttpModuleCollection.cs
- EditableTreeList.cs
- ContainerParagraph.cs
- LocationEnvironment.cs
- MessageBodyMemberAttribute.cs
- WebServiceParameterData.cs
- DataPagerField.cs
- ParentQuery.cs
- CorrelationKeyCalculator.cs
- RenderOptions.cs
- ObjectAssociationEndMapping.cs
- URLAttribute.cs
- xmlglyphRunInfo.cs
- TemplateColumn.cs
- ZoneIdentityPermission.cs
- ApplicationServiceManager.cs
- CompareValidator.cs
- RowCache.cs
- SudsCommon.cs
- ExternalFile.cs
- EditingMode.cs
- XmlTextEncoder.cs
- ToolStripArrowRenderEventArgs.cs
- RegisteredScript.cs
- BatchParser.cs
- XmlParserContext.cs
- AdapterDictionary.cs
- EdmSchemaAttribute.cs
- CacheSection.cs
- IntSecurity.cs
- ManipulationInertiaStartingEventArgs.cs
- VectorKeyFrameCollection.cs
- IssuedTokensHeader.cs
- errorpatternmatcher.cs
- SID.cs
- XmlEncoding.cs
- ExpressionTextBox.xaml.cs
- Vector.cs
- HandlerBase.cs
- DataReceivedEventArgs.cs
- ParameterBuilder.cs
- Converter.cs
- SvcMapFileLoader.cs
- AttributeCollection.cs
- _NtlmClient.cs
- TripleDES.cs
- UInt16Storage.cs
- Compiler.cs
- WindowsTokenRoleProvider.cs
- CompositeFontParser.cs
- ToolStripRenderEventArgs.cs
- GrammarBuilderBase.cs
- XmlSerializerAssemblyAttribute.cs
- ZipIOModeEnforcingStream.cs
- DBCSCodePageEncoding.cs
- ConnectionOrientedTransportElement.cs
- AttributeQuery.cs
- PersonalizablePropertyEntry.cs
- _TLSstream.cs
- DependencyPropertyDescriptor.cs
- ISessionStateStore.cs
- BaseTemplateParser.cs
- SkinIDTypeConverter.cs
- X509IssuerSerialKeyIdentifierClause.cs
- SafeArchiveContext.cs
- UserControl.cs
- Transform3D.cs
- NativeMethods.cs
- ForeignConstraint.cs
- TextBreakpoint.cs
- SqlResolver.cs
- OutOfProcStateClientManager.cs
- MergeLocalizationDirectives.cs
- recordstatefactory.cs
- ProgressBarAutomationPeer.cs
- rsa.cs
- FilteredDataSetHelper.cs