NavigationPropertyConfiguration Class

 

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

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

System::Object
  System.Web.OData.Builder::PropertyConfiguration
    System.Web.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_pubpropertyAutoExpand

Gets or sets whether the property is automatically expanded. default is false. (Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyContainsTarget

Gets whether this navigation property is a containment, default to false.

System_CAPS_pubpropertyDeclaringEntityType

Gets the declaring entity type.

System_CAPS_pubpropertyDeclaringType

Gets the declaring type.(Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyDependentProperties

Gets the foreign keys in the referential constraint of this navigation property.

System_CAPS_pubpropertyIsRestricted

Gets whether the property is restricted, i.e. not filterable, not sortable, not navigable, not expandable, or not countable.(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 or sets the name of the property.(Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyNonFilterable

Gets or sets whether the property is nonfilterable. default is false.(Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyNotCountable

Gets or sets whether the property is not countable. default is false.(Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyNotExpandable

Gets or sets whether the property is not expandable. default is false.(Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyNotFilterable

Gets or sets whether the property is not filterable. default is false.(Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyNotNavigable

Gets or sets whether the property is not navigable. default is false.(Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyNotSortable

Gets or sets whether the property is not sortable. default is false.(Inherited from PropertyConfiguration.)

System_CAPS_pubpropertyOnDeleteAction

Gets or sets the delete action for this navigation property.

System_CAPS_pubpropertyPrincipalProperties

Gets the target keys in the referential constraint of this navigation property.

System_CAPS_pubpropertyPropertyInfo

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

System_CAPS_pubpropertyRelatedClrType

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

System_CAPS_pubpropertyUnsortable

Gets or sets whether the property is unsortable. default is false.(Inherited from PropertyConfiguration.)

NameDescription
System_CAPS_pubmethodAutomaticallyExpand()

Marks the navigation property is automatic expanded.

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_pubmethodContained()

Marks the navigation property as containment.

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 with the dependent and principal property pair.

System_CAPS_pubmethodHasConstraint(PropertyInfo^, PropertyInfo^)

Configures the referential constraint with the specified and .

System_CAPS_pubmethodIsCountable()

Sets the property as countable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethodIsExpandable()

Sets the property as expandable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethodIsFilterable()

Sets the property as filterable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethodIsNavigable()

Sets the property as navigable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethodIsNonFilterable()

Sets the property as nonfilterable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethodIsNotCountable()

Sets the property as not countable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethodIsNotExpandable()

Sets the property as not expandable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethodIsNotFilterable()

Sets the property as not filterable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethodIsNotNavigable()

Sets the property as not navigable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethodIsNotSortable()

Sets the property as not sortable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethodIsSortable()

Sets the property as sortable.(Inherited from PropertyConfiguration.)

System_CAPS_pubmethodIsUnsortable()

Sets the property as unsortable.(Inherited from PropertyConfiguration.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodNonContained()

Marks the navigation property as non-contained.

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: