Sprache

IConventionNavigationBuilder.CanSetAutoInclude Methode

Definition

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

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 eingeschlossen werden soll.

fromDataAnnotation
Boolean

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

Gibt zurück

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

Gilt für: