1 //Copyright 2010 Microsoft Corporation
2 //
3 //Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
4 //You may obtain a copy of the License at
5 //
6 //http://www.apache.org/licenses/LICENSE-2.0
7 //
8 //Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an
9 //"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10 //See the License for the specific language governing permissions and limitations under the License.
11 
12 
13 namespace System.Data.Services.Common
14 {
15     using System.Collections.Generic;
16 
17     internal class EpmSourcePathSegment
18     {
19         #region Fields
20 
21         private String propertyName;
22 
23         private List<EpmSourcePathSegment> subProperties;
24 
25         #endregion
26 
EpmSourcePathSegment(String propertyName)27         internal EpmSourcePathSegment(String propertyName)
28         {
29             this.propertyName = propertyName;
30             this.subProperties = new List<EpmSourcePathSegment>();
31         }
32 
33         #region Properties
34 
35         internal String PropertyName
36         {
37             get
38             {
39                 return this.propertyName;
40             }
41         }
42 
43         internal List<EpmSourcePathSegment> SubProperties
44         {
45             get
46             {
47                 return this.subProperties;
48             }
49         }
50 
51         internal EntityPropertyMappingInfo EpmInfo
52         {
53             get;
54             set;
55         }
56 
57         #endregion
58     }
59 }