Show / Hide Table of Contents

Class OpenDIDataReader

Represents a data query or other operation against an OpenDIDataSource

Inheritance
object
OpenDIBase
OpenDIAsset
OpenDIDataReader
Inherited Members
OpenDIAsset.DIDirectory
OpenDIAsset.DIDataSource
OpenDIAsset.DIDataReader
OpenDIAsset.DIDataWriter
OpenDIAsset.parent
OpenDIAsset.fullPathName
OpenDIAsset.ownerType
OpenDIAsset.ownerID
OpenDIAsset.Version
OpenDIAsset.VersionName
OpenDIAsset.Status
OpenDIAsset.imageURL
OpenDIAsset.ToDTOPartial<T>()
OpenDIAsset.ToDTODefault<T>()
OpenDIAsset.Create(WMAssetBase)
OpenDIBase.openDIVersion
OpenDIBase.FQNSeparator
OpenDIBase.id
OpenDIBase.name
OpenDIBase.summary
OpenDIBase.documentation
OpenDIBase.documentationMIMEType
OpenDIBase.properties
OpenDIBase.GetWMType(string)
OpenDIBase.GetOpenDIType(Type)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

ToDTODefault()

Create a new IWMAssetBaseDTO object that contains the properties of this OpenDIAsset. Throws an exception if null values without default are encountered.

Declaration
public WMDataReaderDTO ToDTODefault()
Returns
Type Description
WMDataReaderDTO

A IWMAssetBaseDTO object that contains the properties (or default values) of this OpenDIAsset

ToDTOPartial()

Create a new IWMAssetBaseDTO object that contains only the properties of this OpenDIAsset with no defaults.

Declaration
public WMDataReaderDTO ToDTOPartial()
Returns
Type Description
WMDataReaderDTO

A IWMAssetBaseDTO object that contains the properties of this OpenDIAsset

In this article
Back to top Copyright © 2025 Quantellia LLC.    Version 2.0.0 Revision 399     Last Updated 11/16/2025    DRAFT DOCUMENTATION. SUBJECT TO CHANGE