/// <summary> /// Creates a new Simple Update Processor /// </summary> /// <param name="store">Updateable Triple Store</param> public SimpleUpdateProcessor(IUpdateableTripleStore store) { _store = store; }
/// <summary> /// Creates a new Simple Update Processor /// </summary> /// <param name="store">Updateable Triple Store</param> public SimpleUpdateProcessor(IUpdateableTripleStore store) { this._store = store; }
private void DeleteTriple(IUpdateableTripleStore tripleStore) { tripleStore.ExecuteUpdate(System.String.Format("DELETE DATA {{ GRAPH <http://data.magi/addresses/Address> {{ <{0}> <{1}> \"{2}\" }} }}", Subject, Predicate, Value)); }
private void InsertTriple(IUpdateableTripleStore tripleStore, int discriminator = 0) { tripleStore.ExecuteUpdate(System.String.Format("INSERT DATA {{ <{0}> a <{1}> . }}", EntityName + (discriminator == 0 ? System.String.Empty : discriminator.ToString()), Ldp.Container)); }