次の方法で共有


DeleteBehaviorAttribute クラス

定義

リレーションシップが削除されたとき、またはリレーションシップが切断されたときに、リレーションシップ内の依存エンティティに削除操作を適用する方法を示すように、リレーションシップの依存側のナビゲーション プロパティを構成します。

[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class DeleteBehaviorAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type DeleteBehaviorAttribute = class
    inherit Attribute
Public NotInheritable Class DeleteBehaviorAttribute
Inherits Attribute
継承
DeleteBehaviorAttribute
属性

注釈

詳細と例については、「 エンティティ型とリレーションシップのモデル 化」を参照してください。

コンストラクター

DeleteBehaviorAttribute(DeleteBehavior)

DeleteBehaviorAttribute クラスの新しいインスタンスを初期化します。

プロパティ

Behavior

構成する を取得します DeleteBehavior

適用対象