Show / Hide Table of Contents

Class BaseModificationCommand

Abstract Base class for classes that represent SPARQL Update INSERT, DELETE and INSERT/DELETE commands.

Inheritance
System.Object
SparqlUpdateCommand
BaseModificationCommand
DeleteCommand
InsertCommand
ModifyCommand
Inherited Members
SparqlUpdateCommand.CommandType
SparqlUpdateCommand.AffectsSingleGraph
SparqlUpdateCommand.AffectsGraph(Uri)
SparqlUpdateCommand.AffectsGraph(IRefNode)
SparqlUpdateCommand.Optimise(IQueryOptimiser)
SparqlUpdateCommand.Process(ISparqlUpdateProcessor)
SparqlUpdateCommand.ToString()
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 abstract class BaseModificationCommand : SparqlUpdateCommand

Constructors

| Improve this Doc View Source

BaseModificationCommand(SparqlUpdateCommandType)

Creates a new Base Modification Command.

Declaration
public BaseModificationCommand(SparqlUpdateCommandType type)
Parameters
Type Name Description
SparqlUpdateCommandType type

Update Command Type.

Fields

| Improve this Doc View Source

_usingNamedUris

URIS for the USING NAMED clauses.

Declaration
protected List<Uri> _usingNamedUris
Field Value
Type Description
System.Collections.Generic.List<T><System.Uri>
| Improve this Doc View Source

_usingUris

URIs for the USING clauses.

Declaration
protected List<Uri> _usingUris
Field Value
Type Description
System.Collections.Generic.List<T><System.Uri>

Properties

| Improve this Doc View Source

GraphUri

Gets the URI of the Graph specified in the WITH clause.

Declaration
[Obsolete("Replaced by WithGraphName")]
public Uri GraphUri { get; }
Property Value
Type Description
System.Uri
| Improve this Doc View Source

UsingNamedUris

Gets the URIs specified in USING NAMED clauses.

Declaration
public IEnumerable<Uri> UsingNamedUris { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><System.Uri>
| Improve this Doc View Source

UsingUris

Gets the URIs specified in USING clauses.

Declaration
public IEnumerable<Uri> UsingUris { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<T><System.Uri>
| Improve this Doc View Source

WithGraphName

The name of the graph specified in the WITH clause.

Declaration
public IRefNode WithGraphName { get; protected set; }
Property Value
Type Description
IRefNode

Methods

| Improve this Doc View Source

AddUsingNamedUri(Uri)

Adds a new USING NAMED URI.

Declaration
public void AddUsingNamedUri(Uri u)
Parameters
Type Name Description
System.Uri u

URI.

| Improve this Doc View Source

AddUsingUri(Uri)

Adds a new USING URI.

Declaration
public void AddUsingUri(Uri u)
Parameters
Type Name Description
System.Uri u

URI.

| Improve this Doc View Source

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.

System.Boolean top

Is this the top level pattern?.

Returns
Type Description
System.Boolean

Extension Methods

Extensions.ToSafeString(object)
Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • BaseModificationCommand(SparqlUpdateCommandType)
  • Fields
    • _usingNamedUris
    • _usingUris
  • Properties
    • GraphUri
    • UsingNamedUris
    • UsingUris
    • WithGraphName
  • Methods
    • AddUsingNamedUri(Uri)
    • AddUsingUri(Uri)
    • IsValidDeletePattern(GraphPattern, bool)
  • Extension Methods
Back to top Generated by DocFX