Class CopyCommand
Represents the SPARQL Update COPY Command.
Inherited Members
Namespace: VDS.RDF.Update.Commands
Assembly: dotNetRdf.dll
Syntax
public class CopyCommand : BaseTransferCommand
  Constructors
| Edit this page View SourceCopyCommand(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 | 
|---|---|---|
| Uri | sourceUri | Source Graph URI.  | 
      
| Uri | destUri | Destination Graph URI.  | 
      
CopyCommand(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 | 
|---|---|---|
| Uri | sourceUri | Source Graph URI.  | 
      
| Uri | destUri | Destination Graph URI.  | 
      
| bool | silent | Whether errors should be suppressed.  | 
      
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.  | 
      
| 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.  |