Skip to main content

LinqServerModeDataSource.EnableUpdate Property

Gets or sets whether an update operation is enabled.

Namespace: DevExpress.Data.Linq

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#Declaration

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

#Property Value

Type Default Description
Boolean false

true to enable update operations; otherwise, false.

#Remarks

To manually handle update operations, handle the LinqServerModeDataSource.Updating event.

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