Table of Contents

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 ConditionalGroupOperator

operator

id int

id

mapping Mapping

mapping

source ISource

source

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 XmlNode

The XML node.

mapping Mapping

The mapping.

id int

The id.

source ISource

The source.

Properties

ConditionalOperator

public ConditionalGroupOperator ConditionalOperator { get; set; }

Property Value

ConditionalGroupOperator

Conditionals

Gets or sets the conditions.

public IEnumerable<MappingConditional> Conditionals { get; }

Property Value

IEnumerable<MappingConditional>

Id

Gets the id.

public int Id { get; }

Property Value

int

Mapping

Table Mapping

public Mapping Mapping { get; }

Property Value

Mapping

Source

The Source this conditional is to be applied to.

public ISource Source { get; }

Property Value

ISource

Methods

AddConditional(Column, ConditionalOperator, string, bool)

Adds new condition

public MappingConditional AddConditional(Column sourceColumn, ConditionalOperator conditionalOperator, string condition, bool useCodeExtension)

Parameters

sourceColumn Column
conditionalOperator ConditionalOperator
condition string
useCodeExtension bool

Returns

MappingConditional

AddConditional(MappingConditional)

Adds condition

public void AddConditional(MappingConditional conditional)

Parameters

conditional MappingConditional

RemoveConditional(MappingConditional)

Adds condition

public void RemoveConditional(MappingConditional conditional)

Parameters

conditional MappingConditional
To top