|
ITableOperationsApplyRootQueryRestrictionToDeletes Property
|
Namespace: GSF.Data.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntaxbool ApplyRootQueryRestrictionToDeletes { get; set; }Property ApplyRootQueryRestrictionToDeletes As Boolean
Get
Set
property bool ApplyRootQueryRestrictionToDeletes {
bool get ();
void set (bool value);
}abstract ApplyRootQueryRestrictionToDeletes : bool with get, set
function get_ApplyRootQueryRestrictionToDeletes();
function set_ApplyRootQueryRestrictionToDeletes(value);
View SourceProperty Value
Boolean
Remarks
If RootQueryRestriction only references primary key fields, then this property value should be set
to false since default delete 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
ApplyToDeletes.
See Also