NavigationPropertyDescriptor.cs 525 B

123456789101112131415
  1. using Ant.ORM;
  2. using System.Reflection;
  3. namespace Ant.Descriptors
  4. {
  5. public class NavigationPropertyDescriptor : NavigationMemberDescriptor
  6. {
  7. PropertyInfo propertyInfo;
  8. public NavigationPropertyDescriptor(PropertyInfo propertyInfo, FiledMetaData declaringEntityDescriptor, string thisKey, string associatingKey)
  9. : base(propertyInfo, propertyInfo.PropertyType, declaringEntityDescriptor, thisKey, associatingKey)
  10. {
  11. this.propertyInfo = propertyInfo;
  12. }
  13. }
  14. }