GraphPersistenceWrapper Constructor (IGraph, Boolean)
Creates a new Graph Persistence Wrapper around the given Graph with the given always queue setting.
dotNetRDF (in dotNetRDF.dll) Version:
Public Sub New (
g As IGraph,
alwaysQueueActions As Boolean
- Type: VDS.RDFIGraph
- Type: SystemBoolean
Whether to always queue actions.
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.