次の方法で共有


TypeMappingConfigurationBuilder<TProperty>.HasSentinel(Object) メソッド

定義

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

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder<TProperty> HasSentinel (object? sentinel);
override this.HasSentinel : obj -> Microsoft.EntityFrameworkCore.Metadata.Builders.TypeMappingConfigurationBuilder<'Property>
Public Overridable Function HasSentinel (sentinel As Object) As TypeMappingConfigurationBuilder(Of TProperty)

パラメーター

sentinel
Object

Sentinel の値。

戻り値

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

適用対象