SemWeb : SemWeb.IO Namespace
SQLWriter

This class writes RDF statements to a stream as SQL suitable to be loaded into a database that will be used by SemWeb.Stores.SQLStore.

public class SQLWriter : SemWeb.RdfWriter


Remarks
None.
Members

See Also: Inherited members from SemWeb.RdfWriter.

Constructors
Creates a new SQLWriter that outputs to Console.Out and uses the given table name prefix.
Creates a new SQLWriter that outputs to a TextWriter and uses the given table name prefix.
Creates a new SQLWriter that outputs to the names file and uses the given table name prefix.
Member Details
SQLWriter Constructor
public SQLWriter (string spec)

Creates a new SQLWriter that outputs to Console.Out and uses the given table name prefix.

Parameters
spec
The prefix for the names of the tables used by the writer.
Remarks
None.

SQLWriter Constructor
public SQLWriter (string file, string tablename)

Creates a new SQLWriter that outputs to the names file and uses the given table name prefix.

Parameters
file
The name of the file to write SQL statements to, or "-" to write to Console.Out.
tablename
The prefix for the names of the tables used by the writer.
Remarks
To be added.

SQLWriter Constructor
public SQLWriter (System.IO.TextWriter writer, string tablename)

Creates a new SQLWriter that outputs to a TextWriter and uses the given table name prefix.

Parameters
writer
The TextWriter to output SQL statements to.
tablename
The prefix for the names of the tables used by the writer.
Remarks
None.