Class GraphDiffReportExtensions
Provides useful Extension Methods for working with graph diff reports.
Inherited Members
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public static class GraphDiffReportExtensions
Methods
| Edit this page View SourceAsUpdate(GraphDiffReport, Uri, INamespaceMapper)
Converts a diff to an equivalent SPARQL Update INSERT/DELETE command.
Declaration
public static ModifyCommand AsUpdate(this GraphDiffReport diff, Uri graphUri = null, INamespaceMapper prefixes = null)
Parameters
Type | Name | Description |
---|---|---|
GraphDiffReport | diff | The diff to convert. |
Uri | graphUri | Optional URI of the affected graph. |
INamespaceMapper | prefixes | Optional mapper used to resolve prefixes. |
Returns
Type | Description |
---|---|
ModifyCommand | A SPARQL Update INSERT/DELETE command that represents the diff. |