AssociationAttribute.DeleteOnNull プロパティ

定義

外部キー メンバーがすべて null 非許容である 1 対 1 の関連付けに配置された場合、関連付けが null に設定されている場合にオブジェクトを削除します。

public:
 property bool DeleteOnNull { bool get(); void set(bool value); };
public bool DeleteOnNull { get; set; }
member this.DeleteOnNull : bool with get, set
Public Property DeleteOnNull As Boolean

プロパティ値

Trueに設定すると、オブジェクトが削除されます。 既定値は False です。

適用対象