Skip to main content

LinqServerModeDataSource.EnableDelete Property

Gets or sets whether a delete operation is allowed.

Namespace: DevExpress.Data.Linq

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue(false)]
public bool EnableDelete { get; set; }

Property Value

Type Default Description
Boolean false

true to allow delete operations; otherwise, false.

Remarks

To manually handle delete operations, handle the LinqServerModeDataSource.Deleting event.

<dx:LinqServerModeDataSource ID="LinqServerModeDataSource1" runat="server" ContextTypeName="NWindEntities" 
  TableName="Products" EnableDelete="true" EnableInsert="true" EnableUpdate="true" />
See Also