Class FileGraphPersistenceWrapper
The File Graph Persistence Wrapper is a wrapper around another Graph that will be persisted to a file.
Implements
System.IDisposable
System.Xml.Serialization.IXmlSerializable
Inherited Members
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
Assembly: dotNetRDF.dll
Syntax
public class FileGraphPersistenceWrapper : GraphPersistenceWrapper, ITransactionalGraph, IGraph, INodeFactory, IDisposable, IXmlSerializable
Constructors
| Improve this Doc View SourceFileGraphPersistenceWrapper(String)
Creates a new File Graph Persistence Wrapper around a new empty Graph.
Declaration
public FileGraphPersistenceWrapper(string filename)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | File to persist to. |
Remarks
If the given file already exists then the Graph will be loaded from that file.
|
Improve this Doc
View Source
FileGraphPersistenceWrapper(IGraph, String)
Creates a new File Graph Persistence Wrapper around the given Graph.
Declaration
public FileGraphPersistenceWrapper(IGraph g, string filename)
Parameters
Type | Name | Description |
---|---|---|
IGraph | g | Graph. |
System.String | filename | File to persist to. |
Properties
| Improve this Doc View SourceSupportsTriplePersistence
Returns that Triple persistence is not supported.
Declaration
protected override bool SupportsTriplePersistence { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Methods
| Improve this Doc View SourcePersistGraph()
Persists the entire Graph to a File.
Declaration
protected override void PersistGraph()
Overrides
Implements
System.IDisposable
System.Xml.Serialization.IXmlSerializable