Click or drag to resize

GraphPersistenceWrapper Constructor (Boolean)

Creates a new Graph Persistence Wrapper around a new Graph with the given always queue setting.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public GraphPersistenceWrapper(
	bool alwaysQueueActions
)

Parameters

alwaysQueueActions
Type: SystemBoolean
Whether to always queue actions.
Remarks
The alwaysQueueActions setting when enabled will cause the wrapper to queue Asserts and Retracts for persistence regardless of whether the relevant Triples already exist (i.e. normally if a Triple exists is cannot be asserted again and if it doesn't exist it cannot be retracted). This is useful for creating derived wrappers which operate in write-only mode i.e. append mode for an existing graph that may be too large to reasonably load into memory.
See Also