Class GraphExtensions
Inherited Members
Namespace: VDS.RDF.Data.DataTables
Assembly: dotNetRdf.Data.DataTables.dll
Syntax
public static class GraphExtensions
Methods
| Edit this page 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 |
---|---|
DataTable | A DataTable containing three Columns (Subject, Predicate and Object) all typed as INode with a Row per Triple |