Click or drag to resize

RecordRestrictionAddition Operator

Combines two record restrictions with an AND condition.

Namespace: GSF.Data.Model
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static RecordRestriction operator +(
	RecordRestriction left,
	RecordRestriction right
)
View Source

Parameters

left  RecordRestriction
RecordRestriction left operand.
right  RecordRestriction
RecordRestriction right operand.

Return Value

RecordRestriction
New combined record restriction.
Remarks
If both parameters are null, result will be null. If one parameter is null and the other parameter is not, the non-null parameter will be returned. Equally, if the FilterExpression of both parameters are null, empty or only whitespace, then the result will be null. If one parameter has a filter expression that is null, empty or whitespace and the other parameter's filter expression is defined, then the parameter that has a filter expression will be returned.
See Also