Click or drag to resize

RecordRestrictionCombineOr Method

Combines two record restrictions with an OR condition.

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

Parameters

left  RecordRestriction
Left operand.
right  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