Execute an update transaction.

Namespace: BrightstarDB.Client
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
[ObsoleteAttribute("This method has been superceeded by ExecuteTransaction(string, UpdateTransaction, bool, string)")]
IJobInfo ExecuteTransaction(
	string storeName,
	string preconditions,
	string deletePatterns,
	string insertData,
	string defaultGraphUri = "http://www.brightstardb.com/.well-known/model/defaultgraph",
	bool waitForCompletion = true,
	string label = null
)
Visual Basic
<ObsoleteAttribute("This method has been superceeded by ExecuteTransaction(string, UpdateTransaction, bool, string)")> 
Function ExecuteTransaction ( 
	storeName As String,
	preconditions As String,
	deletePatterns As String,
	insertData As String,
	Optional defaultGraphUri As String = "http://www.brightstardb.com/.well-known/model/defaultgraph",
	Optional waitForCompletion As Boolean = true,
	Optional label As String = Nothing
) As IJobInfo
Visual C++
[ObsoleteAttribute(L"This method has been superceeded by ExecuteTransaction(string, UpdateTransaction, bool, string)")]
IJobInfo^ ExecuteTransaction(
	String^ storeName, 
	String^ preconditions, 
	String^ deletePatterns, 
	String^ insertData, 
	String^ defaultGraphUri = L"http://www.brightstardb.com/.well-known/model/defaultgraph", 
	bool waitForCompletion = true, 
	String^ label = nullptr
)
F#
[<ObsoleteAttribute("This method has been superceeded by ExecuteTransaction(string, UpdateTransaction, bool, string)")>]
abstract ExecuteTransaction : 
        storeName : string * 
        preconditions : string * 
        deletePatterns : string * 
        insertData : string * 
        ?defaultGraphUri : string * 
        ?waitForCompletion : bool * 
        ?label : string 
(* Defaults:
        let _defaultGraphUri = defaultArg defaultGraphUri "http://www.brightstardb.com/.well-known/model/defaultgraph"
        let _waitForCompletion = defaultArg waitForCompletion true
        let _label = defaultArg label null
*)
-> IJobInfo 

Parameters

storeName
Type: System..::..String
The name of the store to modify
preconditions
Type: System..::..String
NTriples or NQuads that must be in the store in order for the transaction to execute
deletePatterns
Type: System..::..String
The delete patterns that will be removed from the store
insertData
Type: System..::..String
The NTriples or NQuads data that will be inserted into the store.
defaultGraphUri (Optional)
Type: System..::..String
The URI of the default graph that the transaction will be applied to
waitForCompletion (Optional)
Type: System..::..Boolean
If set to true the method will block until the transaction completes
label (Optional)
Type: System..::..String
Optional user-friendly label for the job.

Return Value

Type: IJobInfo
A IJobInfo instance for monitoring the status of the job

Remarks

If preconditions, deletePatterns or insertData contain quads, the graph URI specified by the quad will override the value provided by defaultGraphUri.

See Also