次の方法で共有


ComplexTypePrimitiveCollectionBuilder<TProperty>.HasSentinel メソッド

定義

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

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

パラメーター

sentinel
Object

Sentinel の値。

戻り値

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

適用対象