Freigeben über


IConventionNavigationBuilder.CanSetAutoInclude Methode

Definition

Gibt einen Wert zurück, der angibt, ob diese Navigation so konfiguriert werden kann, dass sie automatisch in eine Abfrage der aktuellen Konfigurationsquelle eingeschlossen wird.

public bool CanSetAutoInclude (bool? autoInclude, bool fromDataAnnotation = false);
abstract member CanSetAutoInclude : Nullable<bool> * bool -> bool
Public Function CanSetAutoInclude (autoInclude As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Boolean

Parameter

autoInclude
Nullable<Boolean>

Ein Wert, der angibt, ob die Navigation automatisch einbezogen werden soll.

fromDataAnnotation
Boolean

Gibt an, ob die Konfiguration mithilfe einer Datenanmerkung angegeben wurde.

Gibt zurück

true wenn automatisch eingeschlossen wird, kann für diese Navigation festgelegt werden.

Gilt für: