Class AddCommand
Represents the SPARQL Update ADD Command.
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: VDS.RDF.Update.Commands
Assembly: dotNetRdf.dll
Syntax
public class AddCommand : BaseTransferCommand
Constructors
| Improve this Doc View SourceAddCommand(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 |
---|---|---|
System.Uri | sourceUri | Source Graph URI. |
System.Uri | destUri | Destination Graph URI. |
System.Boolean | silent | Whether errors should be suppressed. |
AddCommand(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 |
---|---|---|
System.Uri | sourceUri | Source Graph URI. |
System.Uri | destUri | Destination Graph URI. |
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. |
System.Boolean | silent | Whether errors should be suppressed. |
Methods
| Improve this Doc 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. |