RecordRestriction? RootQueryRestriction { get; set; }
Property RootQueryRestriction As RecordRestriction
Get
Set
property RecordRestriction^ RootQueryRestriction {
RecordRestriction^ get ();
void set (RecordRestriction^ value);
}
function get_RootQueryRestriction();
function set_RootQueryRestriction(value);
Defining a root query restriction creates a base query filter that gets applied to all query operations, even when another restriction is applied - in this case the root restriction will be pre-pended to the specified query, e.g.:
restriction = RootQueryRestriction + restriction;
A root query restriction can be manually assigned to a TableOperationsT instance or automatically assigned by marking a model with the RootQueryRestrictionAttribute.
If any of the Parameters reference a table field that is modeled with either an EncryptDataAttribute or FieldDataTypeAttribute, then the function GetInterpretedFieldValue(String, Object) will need to be called, replacing the target parameter with the returned value so that the field value will be properly set prior to executing the database function.