Class NewGuidScriptType
- Namespace
- Dynamicweb.DataIntegration.Integration.ScriptTypes
- Assembly
- Dynamicweb.DataIntegration.dll
[AddInLabel("New Guid")]
public class NewGuidScriptType : ScriptTypeProvider<Guid>
- Inheritance
-
NewGuidScriptType
- Inherited Members
Properties
AllowedTypes
Gets or sets the column types this provider can be applied to. When set, the mapping UI only offers this provider for columns whose type is in the collection; an empty collection (the default) means the provider is available for all column types.
public override IEnumerable<Type> AllowedTypes { get; set; }
Property Value
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
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 Guid GetValueTyped(object? input)
Parameters
Returns
- Guid
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.