DataSourceExtensionsUpdate Method (IDataSource, IBuffer, String) |
Executes data update command on the data source
Namespace:
Aloe.SystemFrameworks.Domain.DataAccess
Assembly:
Aloe.SystemFrameworks.Domain (in Aloe.SystemFrameworks.Domain.dll) Version: 20.1.3.5
Syntaxpublic static void Update(
this IDataSource dataSource,
IBuffer changes,
string transactionName = null
)
<ExtensionAttribute>
Public Shared Sub Update (
dataSource As IDataSource,
changes As IBuffer,
Optional transactionName As String = Nothing
)
public:
[ExtensionAttribute]
static void Update(
IDataSource^ dataSource,
IBuffer^ changes,
String^ transactionName = nullptr
)
[<ExtensionAttribute>]
static member Update :
dataSource : IDataSource *
changes : IBuffer *
?transactionName : string
(* Defaults:
let _transactionName = defaultArg transactionName null
*)
-> unit
Parameters
- dataSource
- Type: Aloe.SystemFrameworks.Domain.DataAccessIDataSource
The data source on which to execute the command - changes
- Type: Aloe.SystemFrameworks.Domain.DataAccessIBuffer
DataBuffer containing the changes to be applied - transactionName (Optional)
- Type: SystemString
The name of the transaction, for logging purposes.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDataSource. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also