Class GraphExtensions
Extends IGraph with a method to retrieve the graph triples as a System.Data.DataTable
Inheritance
System.Object
GraphExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF.Data.DataTables
Assembly: dotNetRDF.Data.DataTables.dll
Syntax
public static class GraphExtensions
Methods
| Improve this Doc View SourceToDataTable(IGraph)
Casts a Graph to a DataTable with all Columns typed as INode (Column Names are Subject, Predicate and Object
Declaration
public static DataTable ToDataTable(this IGraph g)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph to convert |
Returns
Type | Description |
---|---|
System.Data.DataTable | A DataTable containing three Columns (Subject, Predicate and Object) all typed as INode with a Row per Triple |