Class ImportDefinitionStep
Inheritance
ImportDefinitionStep
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class ImportDefinitionStep : BaseEntity, IImportDefinitionStep, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ICloneableAsync<IImportDefinitionStep>
Constructors
ImportDefinitionStep()
Declaration
public ImportDefinitionStep()
Properties
ByPassProcessors
Indicates when importing the data the system should by pass creating processors to process set data. Improves performance for large
datasets, and also can be used where you want the data (such as gl postings) to be precisely what the source system
was without additional transaction code processing - use with caution.
Declaration
public bool ByPassProcessors { get; set; }
Property Value
ByPassValidation
Indicates when importing the data the system should by pass all validation. Improves performance for large
datasets, and also can be used where you want the data (such as gl postings) to be precisely what the source system
was without additional validation.
Declaration
public bool ByPassValidation { get; set; }
Property Value
Context
Indicates how the import lines will be processed. Isolated - The context is new and only exists for this import
step. Shared - the context is shared across multiple steps so saves aren't committed untill the end.
Declaration
[Required]
[EnumDataType(typeof(ImportDefinitionStepContext))]
public ImportDefinitionStepContext Context { get; set; }
Property Value
Context_Tooltip
Declaration
[NotMapped]
public string Context_Tooltip { get; set; }
Property Value
DataMappingID
Links to IDataMapping. Holds any data mapping that should be applied to the import file in order to
translate it for processing.
Declaration
public Guid? DataMappingID { get; set; }
Property Value
DataMappingID_Label
Declaration
public string DataMappingID_Label { get; set; }
Property Value
DataMappingID_Label_Silent
Declaration
[NotMapped]
public string DataMappingID_Label_Silent { get; set; }
Property Value
Enabled
Indicates if this step should be processed when running the import definition
Declaration
public bool Enabled { get; set; }
Property Value
This is the formula to use to get the path/name of a file on the Import Definition Storage Type to poll for
Declaration
public string FormulaForImportStorageRelativeFilePath { get; set; }
Property Value
ImportDefinitionID
Declaration
[RequiredNoDefaultIDValidation]
public Guid ImportDefinitionID { get; set; }
Property Value
ImportDefinitionID_Label
Declaration
public string ImportDefinitionID_Label { get; set; }
Property Value
ImportDefinitionID_Label_Silent
Declaration
[NotMapped]
public string ImportDefinitionID_Label_Silent { get; set; }
Property Value
ImportEmbeddedFile
If the data to import is hardcoded into the step itself (such as for creating test imports) this holds the file to
import.
Declaration
public string ImportEmbeddedFile { get; set; }
Property Value
ImportEmbeddedFileType
If the data to import is hardcoded into the step itself (such as for creating test imports) this indicates what
type of import file it is.
Declaration
[EnumDataType(typeof(ImportDefinitionEmbededTextImportType))]
public ImportDefinitionEmbededTextImportType ImportEmbeddedFileType { get; set; }
Property Value
Declaration
[NotMapped]
public string ImportEmbeddedFileType_Tooltip { get; set; }
Property Value
ImportSQLWrapperID
Links to ISQLWrapper. Indicates the sql wrapper [more info] to run to retrieve the results to
import. These can be custom sql stored procedures that call 3rd party databases, and can be called from LemonEdge
using ISQLWrapper.
Declaration
public Guid? ImportSQLWrapperID { get; set; }
Property Value
ImportSQLWrapperID_Label
Declaration
public string ImportSQLWrapperID_Label { get; set; }
Property Value
ImportSQLWrapperID_Label_Silent
Declaration
[NotMapped]
public string ImportSQLWrapperID_Label_Silent { get; set; }
Property Value
ImportSQLWrapperParams
The parameters to use when running the specified sql query for importing.
Declaration
public string ImportSQLWrapperParams { get; set; }
Property Value
ImportStorageRelativeFilePath
Indicates the path/name of a file on the Import Definition Storage Type to poll for
Declaration
[StringLength(500)]
public string ImportStorageRelativeFilePath { get; set; }
Property Value
LastImported
Indicates the last time this step was run. Can be used in formulas to do incremental dated imports.
Declaration
public DateTimeOffset? LastImported { get; set; }
Property Value
Name
The unique user friendly name for this step
Declaration
[Required]
[StringLength(500)]
public string Name { get; set; }
Property Value
PollingTimeoutInSecs
If the step is using an Import Storage Relative File, this number indicates how long the system should wait to see
if the file exists. After this period (in seconds) the system will log an error.
Declaration
public int? PollingTimeoutInSecs { get; set; }
Property Value
Sequence
[Key] The sequence specifies which order this step should appear in the grid.
Declaration
public short Sequence { get; set; }
Property Value
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Overrides
CopyFromSource(IImportDefinitionStep)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IImportDefinitionStep source)
Parameters
ToString()
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods