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
- ManipulationBoundaryFeedbackEventArgs.cs
- StackSpiller.Bindings.cs
- DescendantBaseQuery.cs
- DSASignatureFormatter.cs
- DefaultAssemblyResolver.cs
- HotSpotCollection.cs
- XsltConvert.cs
- ComponentSerializationService.cs
- WebProxyScriptElement.cs
- FileDialog.cs
- LoadedOrUnloadedOperation.cs
- StylusEditingBehavior.cs
- XpsImage.cs
- AudioFormatConverter.cs
- ProfileBuildProvider.cs
- SweepDirectionValidation.cs
- FixedTextView.cs
- PostBackTrigger.cs
- PlanCompiler.cs
- BinaryVersion.cs
- VolatileEnlistmentState.cs
- FloaterBaseParagraph.cs
- InputLanguageSource.cs
- PlatformNotSupportedException.cs
- SQLByte.cs
- SizeChangedEventArgs.cs
- DropTarget.cs
- ListView.cs
- DPCustomTypeDescriptor.cs
- EntityFunctions.cs
- RegexMatchCollection.cs
- ClientType.cs
- ThrowHelper.cs
- SessionStateModule.cs
- ConfigurationManagerHelper.cs
- OdbcEnvironment.cs
- Enlistment.cs
- EntityDataSourceStatementEditor.cs
- GroupItemAutomationPeer.cs
- InvalidFilterCriteriaException.cs
- DecimalConverter.cs
- AssemblyResourceLoader.cs
- FormsAuthenticationConfiguration.cs
- TextAnchor.cs
- DoubleCollection.cs
- ImageDrawing.cs
- TaskHelper.cs
- WeakEventTable.cs
- UnwrappedTypesXmlSerializerManager.cs
- ReceiveMessageAndVerifySecurityAsyncResultBase.cs
- PlaceHolder.cs
- QueryPrefixOp.cs
- DbCommandDefinition.cs
- EntityDesignerUtils.cs
- Model3DCollection.cs
- MultiByteCodec.cs
- SoapAttributeAttribute.cs
- Misc.cs
- QilVisitor.cs
- ToolStripSeparatorRenderEventArgs.cs
- PolyQuadraticBezierSegment.cs
- ObsoleteAttribute.cs
- PresentationSource.cs
- OpenCollectionAsyncResult.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- CombinedHttpChannel.cs
- DbConnectionPoolOptions.cs
- AudioStateChangedEventArgs.cs
- TranslateTransform.cs
- CurrencyWrapper.cs
- VisualStateChangedEventArgs.cs
- DbCommandTree.cs
- PersonalizableTypeEntry.cs
- CodeAttachEventStatement.cs
- IsolatedStorage.cs
- ViewGenerator.cs
- FloatUtil.cs
- Compress.cs
- ServiceOperation.cs
- UnsafeNativeMethods.cs
- PropertyPathWorker.cs
- FontFamily.cs
- InputScope.cs
- SchemaObjectWriter.cs
- DrawingContextWalker.cs
- FileCodeGroup.cs
- TraceSection.cs
- NotifyParentPropertyAttribute.cs
- DelegateHelpers.Generated.cs
- SplineKeyFrames.cs
- VectorAnimationUsingKeyFrames.cs
- BulletedList.cs
- TemplateBindingExtensionConverter.cs
- ScaleTransform.cs
- RoleProviderPrincipal.cs
- DecimalFormatter.cs
- CompModSwitches.cs
- ListView.cs
- IODescriptionAttribute.cs
- MsmqProcessProtocolHandler.cs