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(storeName, existencePreconditions, nonexistencePreconditions, deletePatterns, insertData, defaultGraphUri, waitForCompletion, label)")]
public IJobInfo ExecuteTransaction(
	string storeName,
	string preconditions,
	string deletePatterns,
	string insertData,
	string defaultGraphUri,
	bool waitForCompletion = true,
	string label = null
)
Visual Basic
<ObsoleteAttribute("This method has been superceeded by ExecuteTransaction(storeName, existencePreconditions, nonexistencePreconditions, deletePatterns, insertData, defaultGraphUri, waitForCompletion, label)")> 
Public Function ExecuteTransaction ( 
	storeName As String,
	preconditions As String,
	deletePatterns As String,
	insertData As String,
	defaultGraphUri As String,
	Optional waitForCompletion As Boolean = true,
	Optional label As String = Nothing
) As IJobInfo
Visual C++
public:
[ObsoleteAttribute(L"This method has been superceeded by ExecuteTransaction(storeName, existencePreconditions, nonexistencePreconditions, deletePatterns, insertData, defaultGraphUri, waitForCompletion, label)")]
virtual IJobInfo^ ExecuteTransaction(
	String^ storeName, 
	String^ preconditions, 
	String^ deletePatterns, 
	String^ insertData, 
	String^ defaultGraphUri, 
	bool waitForCompletion = true, 
	String^ label = nullptr
) sealed
F#
[<ObsoleteAttribute("This method has been superceeded by ExecuteTransaction(storeName, existencePreconditions, nonexistencePreconditions, deletePatterns, insertData, defaultGraphUri, waitForCompletion, label)")>]
abstract ExecuteTransaction : 
        storeName : string * 
        preconditions : string * 
        deletePatterns : string * 
        insertData : string * 
        defaultGraphUri : string * 
        ?waitForCompletion : bool * 
        ?label : string 
(* Defaults:
        let _waitForCompletion = defaultArg waitForCompletion true
        let _label = defaultArg label null
*)
-> IJobInfo 
[<ObsoleteAttribute("This method has been superceeded by ExecuteTransaction(storeName, existencePreconditions, nonexistencePreconditions, deletePatterns, insertData, defaultGraphUri, waitForCompletion, label)")>]
override ExecuteTransaction : 
        storeName : string * 
        preconditions : string * 
        deletePatterns : string * 
        insertData : string * 
        defaultGraphUri : string * 
        ?waitForCompletion : bool * 
        ?label : string 
(* Defaults:
        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 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 data that will be inserted into the store.
defaultGraphUri
Type: System..::..String
The URI of the default graph to be updated by the transaction.
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
Job Info

Implements

IBrightstarService..::..ExecuteTransaction(String, String, String, String, String, Boolean, String)

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionIf storeName is NULL
System..::..ArgumentExceptionIf storeName is an empty string or not a valid store name

See Also