Search Results for

    Show / Hide Table of Contents

    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://help.lemonedge.com/help/settings/open-architecture/data-source-types/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.DataSourceTypes, "dbo.LT_DataSourceTypes", "DataSourceType", LabelColumn = "Name", IsStandingDataEntity = true, HelpURL = "help/settings/open-architecture/data-source-types/intro.html")]
    [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

    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

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