Click or drag to resize

DataSource Class

Represents a data source that we can load data from for treatment in a survey.
Inheritance Hierarchy
SystemObject
  Omada.OE.Solution.OIM.AppLogic.SurveyFeatureDataSource

Namespace:  Omada.OE.Solution.OIM.AppLogic.SurveyFeature
Assembly:  Omada.OE.Solution.OIM.AppLogic (in Omada.OE.Solution.OIM.AppLogic.dll) Version: 15.0.0.0
Syntax
C#
public class DataSource

The DataSource type exposes the following members.

Constructors
  NameDescription
Public methodDataSource
Top
Properties
  NameDescription
Public propertyChildObjectRefProperty
System name of a reference property on the data object type of the data source. If provided, survey questions will be generated for the values of this reference property on the data objects retrieved from the data source - is only used if type==dataObjects
Public propertyConnectionString
Is only used if DataSourceType == SqlObjects.
Public propertyDataObjectTypeId
Holds the id of the data object type that we will import data from. Is only used if DataSourceType == DataObjects.
Public propertyDataObjectTypeName
Public propertyDataSourceType
Public propertyFields
Public propertyFilters
Filters are only used if DataSourceType == DataObjects.
Public propertyName
Public propertyRequiredDataSets
A list of required data sets. Is only used if DataSourceType == SqlObjects
Public propertySqlQuery
Is only used if DataSourceType == SqlObjects.
Public propertyThreshold
Maximum number of survey objects that will be generated based on the data source.
Top
Methods
  NameDescription
Public methodToString (Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also