|
TableOperationsTApplyRootQueryRestrictionToDeletes Property
|
Namespace: GSF.Data.ModelAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax public bool ApplyRootQueryRestrictionToDeletes { get; set; }
Public Property ApplyRootQueryRestrictionToDeletes As Boolean
Get
Set
public:
virtual property bool ApplyRootQueryRestrictionToDeletes {
bool get () sealed;
void set (bool value) sealed;
}
abstract ApplyRootQueryRestrictionToDeletes : bool with get, set
override ApplyRootQueryRestrictionToDeletes : bool with get, set
function get_ApplyRootQueryRestrictionToDeletes();
function set_ApplyRootQueryRestrictionToDeletes(value);
View SourceProperty Value
BooleanImplements
ITableOperationsApplyRootQueryRestrictionToDeletesRemarks
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