Class MappingConditionalGroup
- Namespace
- Dynamicweb.DataIntegration.Integration
- Assembly
- Dynamicweb.DataIntegration.dll
Used to describe the conditions group that must be met for a row to be included in a job.
public class MappingConditionalGroup
- Inheritance
-
MappingConditionalGroup
- Inherited Members
Constructors
MappingConditionalGroup(ConditionalGroupOperator, int, Mapping, ISource)
Initializes a new instance of the MappingConditionalGroup class.
public MappingConditionalGroup(ConditionalGroupOperator conditionalOperator, int id, Mapping mapping, ISource source)
Parameters
conditionalOperator
ConditionalGroupOperatoroperator
id
intid
mapping
Mappingmapping
source
ISourcesource
MappingConditionalGroup(XmlNode, Mapping, int, ISource)
Initializes a new instance of the MappingConditionalGroup class from XML input. This is used when an activity is saved
public MappingConditionalGroup(XmlNode xmlNode, Mapping mapping, int id, ISource source)
Parameters
xmlNode
XmlNodeThe XML node.
mapping
MappingThe mapping.
id
intThe id.
source
ISourceThe source.
Properties
ConditionalOperator
public ConditionalGroupOperator ConditionalOperator { get; set; }
Property Value
Conditionals
Gets or sets the conditions.
public IEnumerable<MappingConditional> Conditionals { get; }
Property Value
Id
Gets the id.
public int Id { get; }
Property Value
Mapping
Table Mapping
public Mapping Mapping { get; }
Property Value
Source
The Source this conditional is to be applied to.
public ISource Source { get; }
Property Value
Methods
AddConditional(Column, ConditionalOperator, string, bool)
Adds new condition
public MappingConditional AddConditional(Column sourceColumn, ConditionalOperator conditionalOperator, string condition, bool useCodeExtension)
Parameters
sourceColumn
ColumnconditionalOperator
ConditionalOperatorcondition
stringuseCodeExtension
bool
Returns
AddConditional(MappingConditional)
Adds condition
public void AddConditional(MappingConditional conditional)
Parameters
conditional
MappingConditional
RemoveConditional(MappingConditional)
Adds condition
public void RemoveConditional(MappingConditional conditional)
Parameters
conditional
MappingConditional