Table of Contents

Class SourceColumn

Namespace
The.Import.Data
Assembly
Instagile.dll

represents columnar data from the datasource, destined for an Attribute

public class SourceColumn
Inheritance
SourceColumn
Inherited Members

Constructors

SourceColumn(string, Guid, AttributeType)

public SourceColumn(string name, Guid modelID, AttributeType typeAtImport)

Parameters

name string
modelID Guid
typeAtImport AttributeType

Fields

CustomConversion

if not null, this function will run to transform each incoming value

public Func<object?, object?>? CustomConversion

Field Value

Func<object, object>

IsComponentOfUniqueKey

if true, this column acts as an attribute of a (possibly composite) key for a unique index for importing its table

public bool IsComponentOfUniqueKey

Field Value

bool

ModelID

id of the corresponding attribute in the app model

public readonly Guid ModelID

Field Value

Guid

Name

identifier of this column in the import source

public readonly string Name

Field Value

string

TypeAtImport

type of the data available from the import source (as opposed to the type of the destination attributes)

public readonly AttributeType TypeAtImport

Field Value

AttributeType

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.