Click or drag to resize

ITableOperationsApplyRootQueryRestrictionToUpdates Property

Gets or sets flag that determines if RootQueryRestriction should be applied to update operations.

Namespace: GSF.Data.Model
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
bool ApplyRootQueryRestrictionToUpdates { get; set; }
View Source

Property Value

Boolean
Remarks

If RootQueryRestriction only references primary key fields, then this property value should be set to false since default update operations for a modeled record already work against primary key fields.

This flag can be manually set per TableOperationsT instance or handled automatically by marking a model with the RootQueryRestrictionAttribute and assigning a value to the attribute property ApplyToUpdates.

See Also