DbFunctionBuilder.IsNullable(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
標記資料庫函式是否能回傳空值。
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 的值。
傳回
同一個建構器實例,這樣可以串接多個設定呼叫。
備註
更多資訊與範例請參見 資料庫函數 。