DeleteBehaviorAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the navigation property on the dependent side of a relationship to indicate how a delete operation is applied to dependent entities in a relationship when it is deleted or the relationship is severed.
[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
- Inheritance
-
DeleteBehaviorAttribute
- Attributes
Remarks
See Modeling entity types and relationships for more information and examples.
Constructors
DeleteBehaviorAttribute(DeleteBehavior) |
Initializes a new instance of the DeleteBehaviorAttribute class. |
Properties
Behavior |
Gets the DeleteBehavior to be configured. |
Applies to
Entity Framework