Change the URI identifier for this data object.
Namespace: BrightstarDB.ClientAssembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)
Syntax
C# |
---|
IDataObject UpdateIdentity( string newIdentity, bool enforceClassUniqueConstraint ) |
Visual Basic |
---|
Function UpdateIdentity ( newIdentity As String, enforceClassUniqueConstraint As Boolean ) As IDataObject |
Visual C++ |
---|
IDataObject^ UpdateIdentity( String^ newIdentity, bool enforceClassUniqueConstraint ) |
F# |
---|
abstract UpdateIdentity : newIdentity : string * enforceClassUniqueConstraint : bool -> IDataObject |
Parameters
- newIdentity
- Type: System..::..String
The new URI identifier
- enforceClassUniqueConstraint
- Type: System..::..Boolean
Add an update precondition to ensure that the update will fail if the store already contains an RDF resource with the same rdf:type(s) as this data object.
Return Value
Type: IDataObject[Missing <returns> documentation for "M:BrightstarDB.Client.IDataObject.UpdateIdentity(System.String,System.Boolean)"]
Remarks
This change will update all triples where the data object identity
is the subject or object. It will not change predicates.