Search Results for

    Show / Hide Table of Contents

    Interface IImportDefinition

    The system entity for an import defintion, which describes steps of imports to process

    See https://help.lemonedge.com/help/open-architecture/data-integration/import-definitions/intro.html for more information

    Inherited Members
    IBaseEntity.GetLabel(string)
    IBaseEntity.SetLabel(string, string)
    IBaseEntity.SetSilentLabel(string, string)
    IBaseEntity.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.AlgorithmStepID
    IBaseEntity.SafeID
    IEquatable<IBaseEntity>.Equals(IBaseEntity)
    INotifyPropertyChanged.PropertyChanged
    INotifyPropertyChanging.PropertyChanging
    ICloneableAsync.Clone(object)
    ICloneableAsync.CopyFromSource(object)
    ICanTrackProperties.HasTrackedPropertyChanged(string)
    ICanTrackProperties.OriginalTrackedPropertyValue(string)
    ICanTrackProperties.OriginalTrackedPropertyValue<T>(string)
    ICanTrackProperties.ClearTrackedOriginalValues()
    ICanTrackProperties.GetAllOriginalTrackedPropertyValues()
    ISetCopier.GetCopyInfo(IEntityUpdater)
    Namespace: LemonEdge.API.Entities.DataIntegration
    Assembly: LemonEdge.API.dll
    Syntax
    [EntityDefinition(EntityID.ImportDefinition, "dbo.LT_ImportDefinitions", "ImportDefinition", LabelColumn = "Name", IsStandingDataEntity = false, HelpURL = "help/open-architecture/data-integration/import-definitions/intro.html")]
    [DefaultEntityIcon(ImageType.UploadSteps)]
    public interface IImportDefinition : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier

    Properties

    Description

    User friendly description of what this import definition does

    Declaration
    [EntityProperty(SQLType.NVarChar, 2000, true)]
    [EntityDescription("A user friendly description of the use of this import definition.")]
    string Description { get; set; }
    Property Value
    Type Description
    string

    Name

    [Key] Unique user friendly name for this import definition

    Declaration
    [EntityProperty(SQLType.NVarChar, 500, false)]
    [EntityKeyProperty]
    [EntityDescription("The unique name of this import definition.")]
    [Unique]
    [Required]
    string Name { get; set; }
    Property Value
    Type Description
    string

    StorageBasePath

    The base path to use for the Storage Type. For example using Local may be LemonEdgeFiles

    Declaration
    [EntityProperty(SQLType.NVarChar, 500, true)]
    [EntityDescription("The base folder path to use when accessing any files within the storage medium.")]
    string StorageBasePath { get; set; }
    Property Value
    Type Description
    string

    StorageConnectionString

    The connection string for the storage type. For Azure this would be a connection string, for Local it can just be the drive, or network, name: C:\

    Declaration
    [EntityProperty(SQLType.NVarChar, 500, true)]
    [EntityDescription("The connection string, including any credentials, used to connect to the specified sotrage type.")]
    string StorageConnectionString { get; set; }
    Property Value
    Type Description
    string

    StorageType

    Indicates the storage type to use for the import definition to access and poll for files.

    System comes with:

    Local, Azure

    But you can add more by implementing the IStorageManager interface.

    Declaration
    [EntityProperty(SQLType.NVarChar, 20, true)]
    [EntityDescription("The type of storage used to access specified import files.")]
    string StorageType { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)

    See Also

    IDataMapping
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.