Class MoveCommand
Represents a SPARQL Update MOVE Command.
Inherited Members
Namespace: VDS.RDF.Update.Commands
Assembly: dotNetRdf.dll
Syntax
public class MoveCommand : BaseTransferCommand
Constructors
| Edit this page View SourceMoveCommand(Uri, Uri)
Creates a Command which Moves data from one Graph to another overwriting the destination Graph and deleting the source Graph.
Declaration
[Obsolete("Replaced by MoveCommand(IRefNode, IRefNode, bool)")]
public MoveCommand(Uri sourceUri, Uri destUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | sourceUri | Source Graph URI. |
Uri | destUri | Destination Graph URI. |
MoveCommand(Uri, Uri, bool)
Creates a Command which Moves data from one Graph to another overwriting the destination Graph and deleting the source Graph.
Declaration
[Obsolete("Replaced by MoveCommand(IRefNode, IRefNode, bool)")]
public MoveCommand(Uri sourceUri, Uri destUri, bool silent)
Parameters
Type | Name | Description |
---|---|---|
Uri | sourceUri | Source Graph URI. |
Uri | destUri | Destination Graph URI. |
bool | silent | Whether errors should be suppressed. |
MoveCommand(IRefNode, IRefNode, bool)
Creates a command which moves data from one graph to another, overwriting the destination graph and deleting the source graph.
Declaration
public MoveCommand(IRefNode sourceGraphName, IRefNode destinationGraphName, bool silent = false)
Parameters
Type | Name | Description |
---|---|---|
IRefNode | sourceGraphName | Name of the source graph. |
IRefNode | destinationGraphName | Name of the destination graph. |
bool | silent | Whether errors should be suppressed. |
Methods
| Edit this page View SourceProcess(ISparqlUpdateProcessor)
Processes the Command using the given Update Processor.
Declaration
public override void Process(ISparqlUpdateProcessor processor)
Parameters
Type | Name | Description |
---|---|---|
ISparqlUpdateProcessor | processor | SPARQL Update Processor. |