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.297-beta+c4c8a839e939f7741977e6b01208d8a074273105
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