Share via


IConventionDbFunctionBuilder.IsNullable(Boolean, Boolean) Methode

Definition

Legt den Wert fest, der angibt, ob die Datenbankfunktion NULL-Wert zurückgeben kann oder nicht.

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder IsNullable (bool nullable, bool fromDataAnnotation = false);
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder? IsNullable (bool nullable, bool fromDataAnnotation = false);
abstract member IsNullable : bool * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDbFunctionBuilder
Public Function IsNullable (nullable As Boolean, Optional fromDataAnnotation As Boolean = false) As IConventionDbFunctionBuilder

Parameter

nullable
Boolean

Der Wert, der angibt, ob die Datenbankfunktion integriert ist oder nicht.

fromDataAnnotation
Boolean

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

Gibt zurück

Derselbe Generator instance, wenn die Konfiguration angewendet wurde, null andernfalls.

Gilt für: