Class CopyCommand
Represents the SPARQL Update COPY 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 CopyCommand : BaseTransferCommand
Constructors
| Improve this Doc View SourceCopyCommand(Uri, Uri, bool)
Creates a Command which Copies the contents of one Graph to another overwriting the destination Graph.
Declaration
[Obsolete("Replaced by CopyCommand(IRefNode, IRefNode, bool)")]
public CopyCommand(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. |
CopyCommand(Uri, Uri)
Creates a Command which Copies the contents of one Graph to another overwriting the destination Graph.
Declaration
[Obsolete("Replaced by CopyCommand(IRefNode, IRefNode, bool)")]
public CopyCommand(Uri sourceUri, Uri destUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | sourceUri | Source Graph URI. |
System.Uri | destUri | Destination Graph URI. |
CopyCommand(IRefNode, IRefNode, bool)
Creates a Command which Copies the contents of one Graph to another overwriting the destination Graph.
Declaration
public CopyCommand(IRefNode sourceName, IRefNode destName, bool silent = false)
Parameters
Type | Name | Description |
---|---|---|
IRefNode | sourceName | Source Graph name. |
IRefNode | destName | Destination Graph name. |
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. |