Class DataAdapterBase
- Namespace
- MES.MQC.DataSourceLibrary.Adapters
- Assembly
- MES.MQC.DataSourceLibrary.dll
public abstract class DataAdapterBase : AdapterBase
- Inheritance
-
DataAdapterBase
- Derived
- Inherited Members
Properties
DataSource
The Data Source of the Adapter. If a report file contains data from multiple data sources, this property has to be to "Unknown" and the DataSource of each AdapterData object has to be defined.
public virtual string DataSource { get; }
Property Value
Methods
ThrowWarningForEmptyDataProperty(AdapterDataBase, ContextBase, string, string)
protected void ThrowWarningForEmptyDataProperty(AdapterDataBase adapterDataBase, ContextBase context, string propertyName, string value)
Parameters
adapterDataBaseAdapterDataBasecontextContextBasepropertyNamestringvaluestring
TransformStringToDateTime(string)
TransformStringToValue is a Utility method. Parse a string value to a DateTime.
protected DateTime? TransformStringToDateTime(string value)
Parameters
valuestringDate as string
Returns
- DateTime?
Datetime transformed from the string or null, if string was not a valid datetime
TransformStringToValue(string)
TransformStringToValue is a Utility method. Parse a string value to a double value in a culture independent (invariant) way.
protected static double? TransformStringToValue(string value)
Parameters
valuestring