TableOperationsTApplyRootQueryRestrictionToUpdates Property

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

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.110 -- Release Build+b4bcf74734aa051a9b802d8f3f6ec05bd02af749
public bool ApplyRootQueryRestrictionToUpdates { get; set; }

Property Value

Boolean

Implements

ITableOperationsApplyRootQueryRestrictionToUpdates

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