Search Results for

    Show / Hide Table of Contents

    Interface IDataSource

    The system entity for a DataSource, which is used for ensuring any entity in the system can also have associated 3rd party data source ids

    See https://help.lemonedge.com/data-sources/ 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()
    Namespace: LemonEdge.API.Entities
    Assembly: API.dll
    Syntax
    [EntityDefinition(EntityID.DataSourceIDs, "dbo.LT_DataSourceIDs", "DataSourceID", IsStandingDataEntity = false)]
    [DefaultEntityIcon(ImageType.NewLink)]
    [DataSourceUnique]
    [MultipleUnique(new string[]{"EntityID", "DataSourceTypeID"}, AllowNullOrEmpty = false)]
    public interface IDataSource : IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties

    Properties

    DataSourceTypeID

    Links to IDataSourceType. The data source type that you are storing an associated unique external key for

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityRelationship(EntityID.DataSourceTypes, "ID", SingleJoinType.One, "DataSourceIDs", "DataSourceTypes", DeleteWithRelationship = true, PartOfParentSet = false, LinkToItemInSet = false)]
    Guid DataSourceTypeID { get; set; }
    Property Value
    Type Description
    System.Guid

    EntityID

    The unique global id of the entity (of type EntityTypeID) that this source id is being stored against

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false)]
    [EntityLinkToAnyParentRelationship("EntityID", SingleJoinType.One, "Data Sources", false, new Type[]{typeof(IDataSource), typeof(IDataSourceType)})]
    Guid EntityID { get; set; }
    Property Value
    Type Description
    System.Guid

    EntityTypeID

    The type of entity this source id is being stored against

    Declaration
    [EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
    Guid EntityTypeID { get; set; }
    Property Value
    Type Description
    System.Guid

    SourceID

    The unique key from a third party data source that this record is associated with

    Declaration
    [EntityProperty(SQLType.NVarChar, (short)500, false)]
    [Required]
    string SourceID { 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

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