次の方法で共有


IConventionTypeBaseBuilder.CanRemoveComplexProperty メソッド

定義

複合プロパティをこの型から削除できるかどうかを示す値を返します。

public bool CanRemoveComplexProperty (Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty complexProperty, bool fromDataAnnotation = false);
abstract member CanRemoveComplexProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionComplexProperty * bool -> bool
Public Function CanRemoveComplexProperty (complexProperty As IConventionComplexProperty, Optional fromDataAnnotation As Boolean = false) As Boolean

パラメーター

complexProperty
IConventionComplexProperty

削除する複合プロパティ。

fromDataAnnotation
Boolean

構成がデータ注釈を使用して指定されたかどうかを示します。

戻り値

true 複合プロパティをこの型から削除できる場合は 。

適用対象