Click or drag to resize

RecordRestrictionCombineAnd Method

Combines two record restrictions with an AND condition.

Namespace: GSF.Data.Model
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public static RecordRestriction CombineAnd(
	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