TypeMappingConfigurationBuilder.HasSentinel(Object) メソッド

定義

プロパティが設定されているかどうかを判断するために使用される値を構成します。 プロパティが Sentinel 値に設定されている場合は、設定されていないと見なされます。 既定では、sentinel 値は プロパティの型の CLR 既定値です。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder HasSentinel (object? sentinel);
abstract member HasSentinel : obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder
override this.HasSentinel : obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder
Public Overridable Function HasSentinel (sentinel As Object) As TypeMappingConfigurationBuilder

パラメーター

sentinel
Object

Sentinel の値。

戻り値

構成が適用された場合は同じビルダー インスタンス。 null それ以外の場合は 。

適用対象