예제 #1
0
 /// <summary>
 /// Adds a Graph to the collection.
 /// </summary>
 /// <param name="g">Graph.</param>
 /// <param name="mergeIfExists">Whether to merge into an existing Graph with the same URI.</param>
 /// <returns></returns>
 protected internal override bool Add(IGraph g, bool mergeIfExists)
 {
     return(_graphs.Add(g, mergeIfExists));
 }
예제 #2
0
 /// <summary>
 /// Adds a Graph into the Triple Store.
 /// </summary>
 /// <param name="g">Graph to add.</param>
 public virtual bool Add(IGraph g)
 {
     return(_graphs.Add(g, false));
 }