Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / Providers / ProjectionNode.cs / 1305376 / ProjectionNode.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Represents a single node in the tree of projections // for queries with $expand and/or $select. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services.Providers { #region Namespaces using System; using System.Diagnostics; #endregion ///Class describing a single node on the tree of projections /// and expansions. This is the base class used for any projected property. [DebuggerDisplay("ProjectionNode {PropertyName}")] internal class ProjectionNode { #region Private fields ///The name of the property to project. ///If this node represents the root of the projection tree, this name is an empty string. private readonly string propertyName; ///The ///for the property to be projected. If this node represents an open property or it's the root of the projection tree, /// this field is null. private readonly ResourceProperty property; #endregion #region Constructors ///Creates new instance of /// The name of the property to project. /// Thewhich represents a simple projected property. for the property to project. If an open property /// is to be projected, specify null. internal ProjectionNode(string propertyName, ResourceProperty property) { Debug.Assert(propertyName != null, "propertyName != null"); Debug.Assert(property == null || property.Name == propertyName, "If the property is specified its name must match."); this.propertyName = propertyName; this.property = property; } #endregion #region Public properties /// The name of the property to project. ///If this node represents the root of the projection tree, this name is an empty string. public string PropertyName { get { return this.propertyName; } } ///The ///for the property to be projected. If this node represents an open property or it's the root of the projection tree, /// this property is null. public ResourceProperty Property { get { return this.property; } } #endregion } } // 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
- FixedHighlight.cs
- HijriCalendar.cs
- SchemaImporterExtensionElementCollection.cs
- ChildTable.cs
- BindableAttribute.cs
- InlinedLocationReference.cs
- ApplicationBuildProvider.cs
- DiscreteKeyFrames.cs
- SqlNodeAnnotations.cs
- ToolStripActionList.cs
- WebResponse.cs
- ContainerControl.cs
- UrlParameterWriter.cs
- UserControlAutomationPeer.cs
- ServiceNameCollection.cs
- SoapIncludeAttribute.cs
- WebPartDescriptionCollection.cs
- DesignerAutoFormatCollection.cs
- BufferedStream.cs
- FlowSwitch.cs
- PolyQuadraticBezierSegment.cs
- SpecialFolderEnumConverter.cs
- UdpUtility.cs
- OutputCacheProfileCollection.cs
- ValidatorCompatibilityHelper.cs
- NavigatorOutput.cs
- CalendarData.cs
- DbParameterHelper.cs
- MaskInputRejectedEventArgs.cs
- KeyedPriorityQueue.cs
- RegexCompiler.cs
- DataSourceCacheDurationConverter.cs
- InputMethodStateChangeEventArgs.cs
- MimeBasePart.cs
- XmlSchemaValidator.cs
- ExecutionPropertyManager.cs
- EncodingInfo.cs
- XmlSortKeyAccumulator.cs
- SqlInternalConnectionSmi.cs
- WindowInteropHelper.cs
- TextBoxAutoCompleteSourceConverter.cs
- regiisutil.cs
- SetStoryboardSpeedRatio.cs
- SqlDataReader.cs
- MultiByteCodec.cs
- WebPartVerbCollection.cs
- ScrollBarRenderer.cs
- ColumnBinding.cs
- ArrayConverter.cs
- RulePatternOps.cs
- PropertyChangingEventArgs.cs
- ScrollChrome.cs
- TextEditorCharacters.cs
- EncoderBestFitFallback.cs
- BaseCodeDomTreeGenerator.cs
- AttachedAnnotation.cs
- AnnotationAuthorChangedEventArgs.cs
- GridViewRowCollection.cs
- CommandConverter.cs
- ImportCatalogPart.cs
- HTMLTextWriter.cs
- BooleanProjectedSlot.cs
- Transactions.cs
- FtpWebResponse.cs
- GridView.cs
- AQNBuilder.cs
- DefaultTextStore.cs
- RecordsAffectedEventArgs.cs
- PartitionResolver.cs
- Nodes.cs
- ZipIORawDataFileBlock.cs
- RtfToXamlLexer.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- SHA512Managed.cs
- StrongTypingException.cs
- ZipIOBlockManager.cs
- CatalogPart.cs
- UnhandledExceptionEventArgs.cs
- DictionaryContent.cs
- ControlAdapter.cs
- HMACMD5.cs
- DataSpaceManager.cs
- Screen.cs
- GridSplitter.cs
- BidirectionalDictionary.cs
- PinnedBufferMemoryStream.cs
- PropertyDescriptor.cs
- GAC.cs
- DateTimeSerializationSection.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- AmbientLight.cs
- CodeTypeReferenceExpression.cs
- AutomationPattern.cs
- EnterpriseServicesHelper.cs
- TraceListeners.cs
- StylusDownEventArgs.cs
- SymbolDocumentGenerator.cs
- ToolStripContainerActionList.cs
- DiscriminatorMap.cs
- PromptBuilder.cs