Class WMDataWriter
Represents data insert/update operations performed on the associated data source.
Assembly: WMServer.dll
Syntax
public class WMDataWriter : WMAssetBase, IWMParameterizedAsset, IWMExecutableAsset, IWMAsset, IDbEntity, IWMEntity, IDocumentedEntity, INamedEntity, IWMAssetDirectoryMember, IWMPrincipalOwned
Fields
Delete
Flag indicating the write operation is a delete.
Declaration
public const int Delete = 2
Field Value
Insert
Flag indicating the write operation is an insert.
Declaration
public const int Insert = 0
Field Value
Update
Flag indicating the write operation is an update.
Declaration
public const int Update = 1
Field Value
Properties
Action
Specify the action to be performed when the Writer is executed using one of the constants
Insert, Update, or Delete. Defaults to Insert.
Declaration
public int Action { get; set; }
Property Value
Data
Declaration
public TableValue Data { get; set; }
Property Value
DataSource
Reference to the data source that will execute the insert/update operation.
Declaration
public IWMDataSource DataSource { get; set; }
Property Value
KeyColumn
Declaration
public string KeyColumn { get; set; }
Property Value
Parameters
Declaration
public ElementValue Parameters { get; set; }
Property Value
SourceString
The command string for the operation.
Declaration
public string SourceString { get; set; }
Property Value
Methods
Execute(ElementValue)
Execute the operation with the specified parameters.
Declaration
public ElementValue Execute(ElementValue parameters)
Parameters
Returns
Implements