Interface IDataSourceType
The system entity for a DataSource Type, which is used for storing all the associated ids for a type of third party system
See https://web.lemonedge.com/help/data-source-types/ for more information
Inherited Members
System.IEquatable<LemonEdge.API.Core.IBaseEntity>.Equals(LemonEdge.API.Core.IBaseEntity)
System.ComponentModel.INotifyPropertyChanged.PropertyChanged
System.ComponentModel.INotifyPropertyChanging.PropertyChanging
Namespace: LemonEdge.API.Entities
Assembly: API.dll
Syntax
[EntityDefinition(EntityID.DataSourceTypes, "dbo.LT_DataSourceTypes", "DataSourceType", LabelColumn = "Name", IsStandingDataEntity = true, HelpURL = "data-source-types")]
[DefaultEntityIcon(ImageType.NewLink)]
public interface IDataSourceType : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier
Properties
Description
A user friendly description of this external data source
Declaration
[EntityProperty(SQLType.NVarChar, (short)2000, true)]
[EntityDescription("A user friendly description of this data source.")]
string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
GlobalyUnique
Normally any ID for a Data Source associated with a record must be unique across all instances of that record type.
This option forces the key to be unique globally across all records regardless of type.
Declaration
[EntityProperty(SQLType.Bit, false)]
[EntityDescription("Indicates if any data source value of this type must be globaly unique, or is only to be unique by entity type.")]
bool GlobalyUnique { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
[Key] The unique name of the 3rd system this Data Source Type will hold keys for
Declaration
[EntityProperty(SQLType.NVarChar, (short)500, false)]
[EntityDescription("The unique name of this Data Source Type.")]
[Required]
string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |