This interface is implemented by data sources that support modifying the contents of the store.
|
Clear
() Clears the contents of the data store. |
|
Import
(StatementSource) Loads the contents of a StatementSource into the data store. |
|
Remove
(Statement) Removes statements from the data store. |
|
RemoveAll
(Statement[]) Removes all statements matching an array of templates. |
|
Replace
(Entity, Entity) Replaces all occurences of one Entity with another Entity. |
|
Replace
(Statement, Statement) Replaces a single statement with another statement. |
Clears the contents of the data store.
Loads the contents of a StatementSource into the data store.
Removes statements from the data store.
The following examples erase all statements in a store (although you should use SemWeb.ModifiableSource.Clear().
C# Example |
store.Remove(new Statement(null, null, null)); store.Remove(Statement.All); |
Removes all statements matching an array of templates.
Replaces all occurences of one Entity with another Entity.
Replaces a single statement with another statement.