Table of Contents

Class CodeScriptType

Namespace
Dynamicweb.DataIntegration.Integration.ScriptTypes
Assembly
Dynamicweb.DataIntegration.dll
[AddInLabel("Code")]
public class CodeScriptType : ScriptTypeProvider<object>
Inheritance
CodeScriptType
Inherited Members

Properties

DisableSource

Gets a value indicating whether the provider produces its value independently of a source column. When true (for example the Constant and NewGuid script types), the mapping does not require a source column and readers/writers skip reading the source value for the mapping. The default is false.

public override bool DisableSource { get; }

Property Value

bool

ScriptValue

[AddInParameter("ScriptValue")]
[AddInLabel("Script value")]
[AddInParameterGroup("Scripting")]
[AddInParameterEditor(typeof(TextParameterEditor), "textArea=true;reloadonchange=true;")]
public string ScriptValue { get; set; }

Property Value

string

Methods

GetValueTyped(object?)

Transforms a source value into the typed value written to the destination column. Called once per row during job execution. See GetValue(object?) for the contract.

public override object GetValueTyped(object? input)

Parameters

input object

The value read from the source column for the current row; may be null or DBNull.

Returns

object

The value to write to the destination column.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

To top