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.AccountID
    IBaseEntity.ID
    IBaseEntity.LastUpdated
    IBaseEntity.ModifiedByUserID
    IBaseEntity.CanvasID
    IBaseEntity.GetLabel(String)
    IBaseEntity.SetLabel(String, String)
    IBaseEntity.SetSilentLabel(String, String)
    System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
    System.ComponentModel.INotifyPropertyChanged.PropertyChanged
    System.ComponentModel.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
    Assembly: 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, (short)2000, true)]
    [EntityDescription("A user friendly description of the use of this import definition.")]
    string Description { get; set; }
    Property Value
    Type Description
    System.String

    Name

    [Key] Unique user friendly name for this import definition

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

    StorageBasePath

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

    Declaration
    [EntityProperty(SQLType.NVarChar, (short)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
    System.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, (short)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
    System.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, (short)20, true)]
    [EntityDescription("The type of storage used to access specified import files.")]
    string StorageType { get; set; }
    Property Value
    Type Description
    System.String

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)

    See Also

    IDataMapping
    In This Article
    Back to top © LemonEdge Technology. All rights reserved.