GraphFactory Class |
Namespace: VDS.RDF
The GraphFactory type exposes the following members.
Name | Description | |
---|---|---|
GraphFactory | Initializes a new instance of the GraphFactory class |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetGraph |
Gets a Graph Reference for the given Graph URI.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reset |
Resets the Factory so any Graphs with contents are emptied.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetGraph |
Gets a Graph Reference for the given Graph URI and indicates whether this was a new Graph reference.
|
Primarily designed for internal use in some of our code but may prove useful to other users hence is a public class. Internally this is just a wrapper around a TripleStore instance.
The main usage for this class is scenarios where consistent graph references matter such as returning node references from out of memory datasets (like SQL backed ones) particularly with regards to blank nodes since blank node equality is predicated upon Graph reference.