Show / Hide Table of Contents

Class CopyCommand

Represents the SPARQL Update COPY Command.

Inheritance
object
SparqlUpdateCommand
BaseTransferCommand
CopyCommand
Inherited Members
BaseTransferCommand._silent
BaseTransferCommand.SourceUri
BaseTransferCommand.SourceGraphName
BaseTransferCommand.DestinationUri
BaseTransferCommand.DestinationGraphName
BaseTransferCommand.Silent
BaseTransferCommand.AffectsSingleGraph
BaseTransferCommand.AffectsGraph(Uri)
BaseTransferCommand.AffectsGraph(IRefNode)
BaseTransferCommand.ToString()
SparqlUpdateCommand.CommandType
SparqlUpdateCommand.Optimise(IQueryOptimiser)
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

| Edit this page View Source

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
Uri sourceUri

Source Graph URI.

Uri destUri

Destination Graph URI.

| Edit this page View Source

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.

| Edit this page View Source

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 Source

Process(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.

Overrides
SparqlUpdateCommand.Process(ISparqlUpdateProcessor)

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Edit this page
  • View Source
In this article
  • Constructors
    • CopyCommand(Uri, Uri)
    • CopyCommand(Uri, Uri, bool)
    • CopyCommand(IRefNode, IRefNode, bool)
  • Methods
    • Process(ISparqlUpdateProcessor)
  • Extension Methods
Back to top Generated by DocFX