public RecordRestriction? RootQueryRestriction { get; set; }
Public Property RootQueryRestriction As RecordRestriction
Get
Set
public:
virtual property RecordRestriction^ RootQueryRestriction {
RecordRestriction^ get () sealed;
void set (RecordRestriction^ value) sealed;
}
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.