語言

DbFunctionBuilder.IsNullable(Boolean) 方法

定義

標記資料庫函式是否能回傳空值。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilderBase IsNullable(bool nullable = true);
abstract member IsNullable : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilderBase
override this.IsNullable : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.DbFunctionBuilderBase
Public Overridable Function IsNullable (Optional nullable As Boolean = true) As DbFunctionBuilderBase

參數

nullable
Boolean

表示資料庫函式是否能回傳 null 的值。

傳回

同一個建構器實例,這樣可以串接多個設定呼叫。

備註

更多資訊與範例請參見 資料庫函數 。

適用於