@@ -31,7 +31,7 @@ public abstract class StructuralTypeConfiguration : IEdmTypeConfiguration
31
31
/// <remarks>The default constructor is intended for use by unit testing only.</remarks>
32
32
protected StructuralTypeConfiguration ( )
33
33
{
34
- ExplicitProperties = new Dictionary < PropertyDescriptor , PropertyConfiguration > ( ) ;
34
+ ExplicitProperties = new Dictionary < MemberDescriptor , PropertyConfiguration > ( ) ;
35
35
RemovedProperties = new List < PropertyInfo > ( ) ;
36
36
QueryConfiguration = new QueryConfiguration ( ) ;
37
37
}
@@ -213,7 +213,7 @@ public virtual IEnumerable<NavigationPropertyConfiguration> NavigationProperties
213
213
/// <summary>
214
214
/// Gets the collection of explicitly added properties.
215
215
/// </summary>
216
- protected internal IDictionary < PropertyDescriptor , PropertyConfiguration > ExplicitProperties { get ; private set ; }
216
+ protected internal IDictionary < MemberDescriptor , PropertyConfiguration > ExplicitProperties { get ; private set ; }
217
217
218
218
/// <summary>
219
219
/// Gets the base type of this structural type.
@@ -361,7 +361,7 @@ public virtual EnumPropertyConfiguration AddEnumProperty(PropertyInfo propertyIn
361
361
return propertyConfiguration ;
362
362
}
363
363
364
- internal ComplexPropertyConfiguration AddComplexProperty ( PropertyDescriptor propertyDescriptor )
364
+ internal ComplexPropertyConfiguration AddComplexProperty ( MemberDescriptor propertyDescriptor )
365
365
{
366
366
return AddComplexProperty ( propertyDescriptor . PropertyInfo ) ;
367
367
}
@@ -408,7 +408,7 @@ public virtual ComplexPropertyConfiguration AddComplexProperty(PropertyInfo prop
408
408
return propertyConfiguration ;
409
409
}
410
410
411
- internal CollectionPropertyConfiguration AddCollectionProperty ( PropertyDescriptor propertyDescriptor )
411
+ internal CollectionPropertyConfiguration AddCollectionProperty ( MemberDescriptor propertyDescriptor )
412
412
{
413
413
return AddCollectionProperty ( propertyDescriptor . PropertyInfo ) ;
414
414
}
@@ -502,7 +502,7 @@ public virtual void AddDynamicPropertyDictionary(PropertyInfo propertyInfo)
502
502
/// Removes the given property.
503
503
/// </summary>
504
504
/// <param name="propertyDescriptor">The property being removed.</param>
505
- public virtual void RemoveProperty ( PropertyDescriptor propertyDescriptor )
505
+ public virtual void RemoveProperty ( MemberDescriptor propertyDescriptor )
506
506
{
507
507
if ( propertyDescriptor == null )
508
508
{
@@ -552,7 +552,7 @@ public virtual void RemoveProperty(PropertyInfo propertyInfo)
552
552
/// <returns>Returns the <see cref="NavigationPropertyConfiguration"/> of the added property.</returns>
553
553
public virtual NavigationPropertyConfiguration AddNavigationProperty ( PropertyInfo navigationProperty , EdmMultiplicity multiplicity )
554
554
{
555
- PropertyDescriptor propertyDescriptor = new PropertyDescriptor ( navigationProperty ) ;
555
+ MemberDescriptor propertyDescriptor = new MemberDescriptor ( navigationProperty ) ;
556
556
return AddNavigationProperty ( propertyDescriptor , multiplicity , containsTarget : false ) ;
557
557
}
558
558
@@ -562,7 +562,7 @@ public virtual NavigationPropertyConfiguration AddNavigationProperty(PropertyInf
562
562
/// <param name="navigationProperty">The backing CLR property.</param>
563
563
/// <param name="multiplicity">The <see cref="EdmMultiplicity"/> of the navigation property.</param>
564
564
/// <returns>Returns the <see cref="NavigationPropertyConfiguration"/> of the added property.</returns>
565
- public virtual NavigationPropertyConfiguration AddNavigationProperty ( PropertyDescriptor navigationProperty , EdmMultiplicity multiplicity )
565
+ public virtual NavigationPropertyConfiguration AddNavigationProperty ( MemberDescriptor navigationProperty , EdmMultiplicity multiplicity )
566
566
{
567
567
return AddNavigationProperty ( navigationProperty , multiplicity , containsTarget : false ) ;
568
568
}
@@ -575,7 +575,7 @@ public virtual NavigationPropertyConfiguration AddNavigationProperty(PropertyDes
575
575
/// <returns>Returns the <see cref="NavigationPropertyConfiguration"/> of the added property.</returns>
576
576
public virtual NavigationPropertyConfiguration AddContainedNavigationProperty ( PropertyInfo navigationProperty , EdmMultiplicity multiplicity )
577
577
{
578
- PropertyDescriptor propertyDescriptor = new PropertyDescriptor ( navigationProperty ) ;
578
+ MemberDescriptor propertyDescriptor = new MemberDescriptor ( navigationProperty ) ;
579
579
return AddNavigationProperty ( propertyDescriptor , multiplicity , containsTarget : true ) ;
580
580
}
581
581
@@ -585,12 +585,12 @@ public virtual NavigationPropertyConfiguration AddContainedNavigationProperty(Pr
585
585
/// <param name="navigationProperty">The backing CLR property.</param>
586
586
/// <param name="multiplicity">The <see cref="EdmMultiplicity"/> of the navigation property.</param>
587
587
/// <returns>Returns the <see cref="NavigationPropertyConfiguration"/> of the added property.</returns>
588
- public virtual NavigationPropertyConfiguration AddContainedNavigationProperty ( PropertyDescriptor navigationProperty , EdmMultiplicity multiplicity )
588
+ public virtual NavigationPropertyConfiguration AddContainedNavigationProperty ( MemberDescriptor navigationProperty , EdmMultiplicity multiplicity )
589
589
{
590
590
return AddNavigationProperty ( navigationProperty , multiplicity , containsTarget : true ) ;
591
591
}
592
592
593
- private NavigationPropertyConfiguration AddNavigationProperty ( PropertyDescriptor navigationProperty , EdmMultiplicity multiplicity , bool containsTarget )
593
+ private NavigationPropertyConfiguration AddNavigationProperty ( MemberDescriptor navigationProperty , EdmMultiplicity multiplicity , bool containsTarget )
594
594
{
595
595
if ( navigationProperty == null )
596
596
{
0 commit comments