Class AddCommand
Represents the SPARQL Update ADD Command.
Inherited Members
Namespace: VDS.RDF.Update.Commands
Assembly: dotNetRdf.dll
Syntax
public class AddCommand : BaseTransferCommand
Constructors
| Edit this page View SourceAddCommand(Uri, Uri)
Creates a Command which merges the data from the Source Graph into the Destination Graph.
Declaration
[Obsolete("Replaced by AddCommand(IRefNode, IRefNode, bool)")]
public AddCommand(Uri sourceUri, Uri destUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | sourceUri | Source Graph URI. |
Uri | destUri | Destination Graph URI. |
AddCommand(Uri, Uri, bool)
Creates a Command which merges the data from the Source Graph into the Destination Graph.
Declaration
[Obsolete("Replaced by AddCommand(IRefNode, IRefNode, bool)")]
public AddCommand(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. |
AddCommand(IRefNode, IRefNode, bool)
Creates a command which merges the data from the source graph into the destination graph.
Declaration
public AddCommand(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. |