EpmSourcePathSegment.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / Epm / EpmSourcePathSegment.cs / 1305376 / EpmSourcePathSegment.cs

                            //---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//  
// Type describing each node in the EpmSourceTree generated using
// EntityPropertyMappingAttributes for a ResourceType. 
//  
//
// @owner  [....] 
//---------------------------------------------------------------------

namespace System.Data.Services.Common
{ 
    using System.Collections.Generic;
 
    ///  
    /// Representation of each node in the 
    ///  
    internal class EpmSourcePathSegment
    {
        #region Fields
 
        /// Name of the property under the parent resource type
        private String propertyName; 
 
        /// List of sub-properties if this segment corresponds to a complex type
        private List subProperties; 

        #endregion

        ///  
        /// Constructor creates a source path segment with the name set to 
        ///  
        /// Segment property name 
        internal EpmSourcePathSegment(String propertyName)
        { 
            this.propertyName = propertyName;
            this.subProperties = new List();
        }
 
        #region Properties
 
        /// Name of the property under the parent resource type 
        internal String PropertyName
        { 
            get
            {
                return this.propertyName;
            } 
        }
 
        /// List of sub-properties if this segment corresponds to a complex type 
        internal List SubProperties
        { 
            get
            {
                return this.subProperties;
            } 
        }
 
        /// Corresponding EntityPropertyMappingInfo 
        internal EntityPropertyMappingInfo EpmInfo
        { 
            get;
            set;
        }
 
        #endregion
    } 
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//  
// Type describing each node in the EpmSourceTree generated using
// EntityPropertyMappingAttributes for a ResourceType. 
//  
//
// @owner  [....] 
//---------------------------------------------------------------------

namespace System.Data.Services.Common
{ 
    using System.Collections.Generic;
 
    ///  
    /// Representation of each node in the 
    ///  
    internal class EpmSourcePathSegment
    {
        #region Fields
 
        /// Name of the property under the parent resource type
        private String propertyName; 
 
        /// List of sub-properties if this segment corresponds to a complex type
        private List subProperties; 

        #endregion

        ///  
        /// Constructor creates a source path segment with the name set to 
        ///  
        /// Segment property name 
        internal EpmSourcePathSegment(String propertyName)
        { 
            this.propertyName = propertyName;
            this.subProperties = new List();
        }
 
        #region Properties
 
        /// Name of the property under the parent resource type 
        internal String PropertyName
        { 
            get
            {
                return this.propertyName;
            } 
        }
 
        /// List of sub-properties if this segment corresponds to a complex type 
        internal List SubProperties
        { 
            get
            {
                return this.subProperties;
            } 
        }
 
        /// Corresponding EntityPropertyMappingInfo 
        internal EntityPropertyMappingInfo EpmInfo
        { 
            get;
            set;
        }
 
        #endregion
    } 
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK