Class ImportDefinition
Implements
Inherited Members
Namespace: LemonEdge.API.Entities.DataIntegration
Assembly: LemonEdge.API.Entities.Auto.dll
Syntax
[DataContract]
public class ImportDefinition : BaseEntityWithPermissions, IImportDefinition, IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier, ICloneableAsync<IImportDefinition>
Constructors
ImportDefinition()
Declaration
public ImportDefinition()
Properties
Description
User friendly description of what this import definition does
Declaration
[StringLength(2000)]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
[Key] Unique user friendly name for this import definition
Declaration
[Unique]
[Required]
[StringLength(500)]
public 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
[StringLength(500)]
public 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
[StringLength(500)]
public 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, AzureBut you can add more by implementing the IStorageManager interface.
Declaration
[StringLength(20)]
public string StorageType { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
CopyFromEntity(IBaseEntity)
Declaration
protected override void CopyFromEntity(IBaseEntity src)
Parameters
Type | Name | Description |
---|---|---|
IBaseEntity | src |
Overrides
CopyFromSource(IImportDefinition)
Updates all properties in this item to have the same properties as the source object.
Declaration
public void CopyFromSource(IImportDefinition source)
Parameters
Type | Name | Description |
---|---|---|
IImportDefinition | source | The source object to copy all values from. |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |