Share via


NavigationPropertyConfiguration Class

Represents the configuration for a navigation property of an entity type.

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Builder.PropertyConfiguration
    System.Web.Http.OData.Builder.NavigationPropertyConfiguration

Namespace:  System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Class NavigationPropertyConfiguration _
    Inherits PropertyConfiguration
'Usage
Dim instance As NavigationPropertyConfiguration
public class NavigationPropertyConfiguration : PropertyConfiguration
public ref class NavigationPropertyConfiguration : public PropertyConfiguration
type NavigationPropertyConfiguration =  
    class 
        inherit PropertyConfiguration 
    end
public class NavigationPropertyConfiguration extends PropertyConfiguration

The NavigationPropertyConfiguration type exposes the following members.

Constructors

  Name Description
Public method NavigationPropertyConfiguration Initializes a new instance of the NavigationPropertyConfiguration class.

Top

Properties

  Name Description
Public property AddedExplicitly Gets or sets a value that is true if the property was added by the user; false if it was inferred through conventions. (Inherited from PropertyConfiguration.)
Public property DeclaringEntityType Gets the declaring entity type.
Public property DeclaringType Gets the declaring type. (Inherited from PropertyConfiguration.)
Public property Kind Gets the PropertyKind of this property. (Overrides PropertyConfiguration.Kind.)
Public property Multiplicity Gets the EdmMultiplicity of this navigation property.
Public property Name Gets the name of the property. (Inherited from PropertyConfiguration.)
Public property PropertyInfo Gets the mapping CLR PropertyInfo. (Inherited from PropertyConfiguration.)
Public property RelatedClrType Gets the backing CLR type of this property type. (Overrides PropertyConfiguration.RelatedClrType.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Optional Marks the navigation property as optional.
Public method Required Marks the navigation property as required.
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Http.OData.Builder Namespace