Class BaseModificationCommand
Abstract Base class for classes that represent SPARQL Update INSERT, DELETE and INSERT/DELETE commands.
Inheritance
BaseModificationCommand
Inherited Members
Namespace: VDS.RDF.Update.Commands
Assembly: dotNetRdf.dll
Syntax
public abstract class BaseModificationCommand : SparqlUpdateCommand
Constructors
| Edit this page View SourceBaseModificationCommand(SparqlUpdateCommandType)
Creates a new Base Modification Command.
Declaration
public BaseModificationCommand(SparqlUpdateCommandType type)
Parameters
Type | Name | Description |
---|---|---|
SparqlUpdateCommandType | type | Update Command Type. |
Fields
| Edit this page View Source_usingNamedUris
URIS for the USING NAMED clauses.
Declaration
protected List<Uri> _usingNamedUris
Field Value
Type | Description |
---|---|
List<Uri> |
_usingUris
URIs for the USING clauses.
Declaration
protected List<Uri> _usingUris
Field Value
Type | Description |
---|---|
List<Uri> |
Properties
| Edit this page View SourceGraphUri
Gets the URI of the Graph specified in the WITH clause.
Declaration
[Obsolete("Replaced by WithGraphName")]
public Uri GraphUri { get; }
Property Value
Type | Description |
---|---|
Uri |
UsingNamedUris
Gets the URIs specified in USING NAMED clauses.
Declaration
public IEnumerable<Uri> UsingNamedUris { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Uri> |
UsingUris
Gets the URIs specified in USING clauses.
Declaration
public IEnumerable<Uri> UsingUris { get; }
Property Value
Type | Description |
---|---|
IEnumerable<Uri> |
WithGraphName
The name of the graph specified in the WITH clause.
Declaration
public IRefNode WithGraphName { get; protected set; }
Property Value
Type | Description |
---|---|
IRefNode |
Methods
| Edit this page View SourceAddUsingNamedUri(Uri)
Adds a new USING NAMED URI.
Declaration
public void AddUsingNamedUri(Uri u)
Parameters
Type | Name | Description |
---|---|---|
Uri | u | URI. |
AddUsingUri(Uri)
Adds a new USING URI.
Declaration
public void AddUsingUri(Uri u)
Parameters
Type | Name | Description |
---|---|---|
Uri | u | URI. |
IsValidDeletePattern(GraphPattern, bool)
Determines whether a Graph Pattern is valid for use in an DELETE pattern.
Declaration
protected bool IsValidDeletePattern(GraphPattern p, bool top)
Parameters
Type | Name | Description |
---|---|---|
GraphPattern | p | Graph Pattern. |
bool | top | Is this the top level pattern?. |
Returns
Type | Description |
---|---|
bool |