Table of Contents

Enum BatchOptions

Namespace
NRules
Assembly
NRules.dll

Defines how batch insert/update/retract of facts behaves. Any fact that already exists in the session during insert is considered failed. Similarly, a fact that does not exist in the session during update or retract is also considered failed. By default, any failed fact in a batch operation fails the whole operation, and no facts are propagated. This behavior can be changed using BatchOptions.

public enum BatchOptions

Fields

AllOrNothing = 0

Default behavior of batch operations, where the operation is either applied to all facts in the batch or none of them.

SkipFailed = 1

Changes the behavior of fact propagation, where failed facts are skipped, and the rest are propagated.