Class BaseTransferCommand
Abstract Base Class for SPARQL Update Commands which move data between Graphs.
Inherited Members
Namespace: VDS.RDF.Update.Commands
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseTransferCommand : SparqlUpdateCommand
Constructors
| Edit this page View SourceBaseTransferCommand(SparqlUpdateCommandType, Uri, Uri)
Creates a new Transfer Command.
Declaration
[Obsolete("Replaced by BaseTransferCommand(SparqlUpdateCommandType, IRefNode, IRefNode, bool)")]
protected BaseTransferCommand(SparqlUpdateCommandType type, Uri sourceUri, Uri destUri)
Parameters
Type | Name | Description |
---|---|---|
SparqlUpdateCommandType | type | Command Type. |
Uri | sourceUri | Source Graph URI. |
Uri | destUri | Destination Graph URI. |
BaseTransferCommand(SparqlUpdateCommandType, Uri, Uri, bool)
Creates a new Transfer Command.
Declaration
[Obsolete("Replaced by BaseTransferCommand(SparqlUpdateCommandType, IRefNode, IRefNode, bool)")]
protected BaseTransferCommand(SparqlUpdateCommandType type, Uri sourceUri, Uri destUri, bool silent)
Parameters
Type | Name | Description |
---|---|---|
SparqlUpdateCommandType | type | Command Type. |
Uri | sourceUri | Source Graph URI. |
Uri | destUri | Destination Graph URI. |
bool | silent | Whether errors should be suppressed. |
BaseTransferCommand(SparqlUpdateCommandType, IRefNode, IRefNode, bool)
Creates a new Transfer Command.
Declaration
protected BaseTransferCommand(SparqlUpdateCommandType type, IRefNode sourceGraphName, IRefNode destGraphName, bool silent = false)
Parameters
Type | Name | Description |
---|---|---|
SparqlUpdateCommandType | type | Command Type. |
IRefNode | sourceGraphName | Source Graph name. |
IRefNode | destGraphName | Destination Graph name. |
bool | silent | Whether errors should be suppressed. |
Fields
| Edit this page View Source_silent
Whether errors should be suppressed.
Declaration
protected bool _silent
Field Value
Type | Description |
---|---|
bool |
Properties
| Edit this page View SourceAffectsSingleGraph
Gets whether the Command affects a Single Graph.
Declaration
public override bool AffectsSingleGraph { get; }
Property Value
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceDestinationGraphName
Name of the destination graph.
Declaration
public IRefNode DestinationGraphName { get; }
Property Value
Type | Description |
---|---|
IRefNode |
DestinationUri
URI of the Destination Graph.
Declaration
[Obsolete("Replaced by DestinationGraphName")]
public Uri DestinationUri { get; }
Property Value
Type | Description |
---|---|
Uri |
Silent
Whether errors during evaluation should be suppressed.
Declaration
public bool Silent { get; }
Property Value
Type | Description |
---|---|
bool |
SourceGraphName
Name of the source graph.
Declaration
public IRefNode SourceGraphName { get; }
Property Value
Type | Description |
---|---|
IRefNode |
SourceUri
URI of the Source Graph.
Declaration
[Obsolete("Replaced by SourceGraphName")]
public Uri SourceUri { get; }
Property Value
Type | Description |
---|---|
Uri |
Methods
| Edit this page View SourceAffectsGraph(Uri)
Gets whether the Command affects a given Graph.
Declaration
[Obsolete("Replaced by AffectsGraph(IRefNode)")]
public override bool AffectsGraph(Uri graphUri)
Parameters
Type | Name | Description |
---|---|---|
Uri | graphUri | Graph URI. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceAffectsGraph(IRefNode)
Gets whether the Command will potentially affect the given Graph.
Declaration
public override bool AffectsGraph(IRefNode graphName)
Parameters
Type | Name | Description |
---|---|---|
IRefNode | graphName | Graph name. |
Returns
Type | Description |
---|---|
bool |
Overrides
| Edit this page View SourceToString()
Gets the String representation of the Command.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |