Show / Hide Table of Contents

Class GraphExtensions

Extends IGraph with a method to retrieve the graph triples as a System.Data.DataTable

Inheritance
System.Object
GraphExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Data.DataTables
Assembly: dotNetRdf.Data.DataTables.dll
Syntax
public static class GraphExtensions

Methods

| Improve this Doc View Source

ToDataTable(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

  • Improve this Doc
  • View Source
In This Article
  • Methods
    • ToDataTable(IGraph)
Back to top Generated by DocFX