DeleteBehaviorAttribute Class
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
See Modeling entity types and relationships for more information and examples.
Delete |
Initializes a new instance of the DeleteBehaviorAttribute class. |
Behavior |
Gets the DeleteBehavior to be configured. |
Proizvod | Verzije |
---|---|
Entity Framework Core | 7.0, 8.0, 9.0 |
Povratne informacije o proizvodu Entity Framework
Entity Framework je projekt otvorenog koda. Odaberite vezu za slanje povratnih informacija: