This documentation is archived and is not being maintained.
AssociationAttribute.DeleteRule Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets delete behavior for an association.
Namespace:
System.Data.Linq.Mapping
Assembly:
System.Data.Linq (in System.Data.Linq.dll)
public string DeleteRule { get; set; }
If set to null, no delete behavior is added. For example, "CASCADE" would add "ON DELETE CASCADE" to the foreign-key relationship.
Windows Phone OS
Supported in: 8.1, 8.0