Click or drag to resize

GraphDiffReportExtensionsAsUpdate Method

Converts a diff to an equivalent SPARQL Update INSERT/DELETE command.

Namespace:  VDS.RDF
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static ModifyCommand AsUpdate(
	this GraphDiffReport diff,
	Uri graphUri = null,
	INamespaceMapper prefixes = null
)

Parameters

diff
Type: VDS.RDFGraphDiffReport
The diff to convert.
graphUri (Optional)
Type: SystemUri
Optional URI of the affected graph.
prefixes (Optional)
Type: VDS.RDFINamespaceMapper
Optional mapper used to resolve prefixes.

Return Value

Type: ModifyCommand
A SPARQL Update INSERT/DELETE command that represents the diff.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type GraphDiffReport. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also