Class TriplePersistenceAction
Represents a Triple that is queued for persistence (either insertion/deletion).
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class TriplePersistenceAction
Constructors
| Edit this page View SourceTriplePersistenceAction(Triple, IRefNode)
Creates a new Triple Persistence Action (an insertion).
Declaration
public TriplePersistenceAction(Triple t, IRefNode graphName)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple to persist. |
IRefNode | graphName | The name of the modified graph. |
TriplePersistenceAction(Triple, IRefNode, bool)
Creates a new Triple Persistence Action (an insertion/deletion).
Declaration
public TriplePersistenceAction(Triple t, IRefNode graphName, bool toDelete)
Parameters
Type | Name | Description |
---|---|---|
Triple | t | Triple to persist. |
IRefNode | graphName | The name of the modified graph. |
bool | toDelete | Whether the Triple is to be deleted. |
Properties
| Edit this page View SourceGraph
Gets the name of the graph modified by this action.
Declaration
public IRefNode Graph { get; }
Property Value
Type | Description |
---|---|
IRefNode |
IsDelete
Gets whether the action is a Delete Action.
Declaration
public bool IsDelete { get; }
Property Value
Type | Description |
---|---|
bool |
Triple
Gets the Triple to persist.
Declaration
public Triple Triple { get; }
Property Value
Type | Description |
---|---|
Triple |