Class OpenDIDataReader
Represents a data query or other operation against an OpenDIDataSource
Inherited Members
Namespace: Quantellia.WMServer.OpenDI
Assembly: WMServer.dll
Syntax
public class OpenDIDataReader : OpenDIAsset
Constructors
OpenDIDataReader()
Default constructor
Declaration
public OpenDIDataReader()
OpenDIDataReader(WMDataReader)
Constructor that initializes a new instance with the data from a WMDataReader object.
Declaration
public OpenDIDataReader(WMDataReader reader)
Parameters
Type | Name | Description |
---|---|---|
WMDataReader | reader | The reader with which to initialize this OpenDIDataReader |
Properties
Action
The action taken by the query of this data reader
Declaration
public int Action { get; set; }
Property Value
Type | Description |
---|---|
int |
DataSource
The ID of the WMDataSourceBase bound to this data reader
Declaration
public string DataSource { get; set; }
Property Value
Type | Description |
---|---|
string |
SourceString
The SQL query that this data reader operates on the database.
Declaration
public string SourceString { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
ToDTO()
Create a new WMDataReaderDTO object that contains the properties of this OpenDIDataReader
Declaration
public WMDataReaderDTO ToDTO()
Returns
Type | Description |
---|---|
WMDataReaderDTO | A WMDataReaderDTO object that contains the properties of this OpenDIDataReader |