NavigationPropertyConfiguration Class

 

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

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

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

public ref class NavigationPropertyConfiguration : PropertyConfiguration

NameDescription
System_CAPS_pubmethodNavigationPropertyConfiguration(PropertyInfo^, EdmMultiplicity, EntityTypeConfiguration^)

Initializes a new instance of the NavigationPropertyConfiguration class.

NameDescription
System_CAPS_pubpropertyAddedExplicitly

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.)

System_CAPS_pubpropertyDeclaringEntityType

Gets the declaring entity type.

System_CAPS_pubpropertyDeclaringType

Gets the declaring type. (Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyKind

Gets the PropertyKind of this property.(Overrides PropertyConfiguration::Kind.)

System_CAPS_pubpropertyMultiplicity

Gets the EdmMultiplicity of this navigation property.

System_CAPS_pubpropertyName

Gets the name of the property. (Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyOnDeleteAction

Gets or sets the delete action for this navigation property.

System_CAPS_pubpropertyPropertyInfo

Gets the mapping CLR PropertyInfo. (Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyReferentialConstraint

Gets the read-only referential constraint of this navigation property.

System_CAPS_pubpropertyRelatedClrType

Gets the backing CLR type of this property type.(Overrides PropertyConfiguration::RelatedClrType.)

NameDescription
System_CAPS_pubmethodCascadeOnDelete()

Configures cascade delete to be on for the navigation property.

System_CAPS_pubmethodCascadeOnDelete(Boolean)

Configures whether or not cascade delete is on for the navigation property.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodHasConstraint(KeyValuePair<PropertyInfo^, PropertyInfo^>)

Configures the referential constraint for the navigation property. The dependent property will be added as non-nullable primitive property into the declaring entity type if it's not in the entity type.

System_CAPS_pubmethodHasConstraint(PropertyInfo^, PropertyInfo^)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOptional()

Marks the navigation property as optional.

System_CAPS_pubmethodRequired()

Marks the navigation property as required.

System_CAPS_pubmethodToString()

(Inherited from Object.)

This configuration functionality is exposed by the model builder Fluent API, see ODataModelBuilder.

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

Return to top
Show: