• Basics
  • Abyss
  • Web APIs
  • C# & Razor
  • .net API
  • JS & TS API

    Show / Hide Table of Contents

    Class ExternalData

    Base DataSource class for providing data from external systems

    Inheritance
    System.Object
    HasLog
    DataSourceBase
    ExternalData
    CsvDataSource
    DataTable
    Sql
    DnnUserProfile
    Implements
    IDataSource
    IAppIdentity
    IZoneIdentity
    IAppIdentityLight
    ICacheKey
    ICacheExpiring
    ITimestamped
    ICanPurgeListCache
    IHasLog
    IDataTarget
    IDataPartShared
    Inherited Members
    DataSourceBase.ErrorStream
    DataSourceBase.SetError(String, String, Exception)
    DataSourceBase.GetRequiredInList(IImmutableList<IEntity>)
    DataSourceBase.GetRequiredInList(String, IImmutableList<IEntity>)
    DataSourceBase.Name
    DataSourceBase.AppId
    DataSourceBase.ZoneId
    DataSourceBase.Guid
    DataSourceBase.Configuration
    DataSourceBase.DataBuilder
    DataSourceBase.CacheRelevantConfigurations
    DataSourceBase.ConfigMask(String, String, Boolean)
    DataSourceBase.CachePartialKey
    DataSourceBase.CacheFullKey
    DataSourceBase.CacheChanged(Int64)
    DataSourceBase.PurgeList(Boolean)
    DataSourceBase.In
    DataSourceBase.Out
    DataSourceBase.Item[String]
    DataSourceBase.GetStream(String, String, Boolean, Boolean)
    DataSourceBase.List
    DataSourceBase.Attach(IDataSource)
    DataSourceBase.Attach(String, IDataSource, String)
    DataSourceBase.Attach(String, IDataStream)
    HasLog.Log
    HasLog.InitLog(String, ILog, String)
    HasLog.InitLog(String, ILog, String, CodeRef)
    Namespace: ToSic.Eav.DataSources
    Assembly: ToSic.Eav.DataSources.dll
    Syntax
    [PublicApi_Stable_ForUseInYourCode]
    public abstract class ExternalData : DataSourceBase, IDataSource, IAppIdentity, IZoneIdentity, IAppIdentityLight, ICacheInfo, ICacheKey, ICacheExpiring, ITimestamped, ICanPurgeListCache, IHasLog, IDataTarget, IDataPartShared
    Remarks

    Technically many things could just identify the app they belong to, and let the system look up the zone. But this would be inefficient, so for optimization, many items identify themselves with both the app and zone Ids

    Properties

    | Improve this Doc View Source

    CacheTimestamp

    System time-stamp of when the data in this cached thing was initialized or updated. Depending on the implementation, this may go up-stream and return an up-stream value.

    Declaration
    public override long CacheTimestamp { get; }
    Property Value
    Type Description
    System.Int64

    A timestamp as a long number

    Overrides
    DataSourceBase.CacheTimestamp

    Implements

    IDataSource
    IAppIdentity
    IZoneIdentity
    IAppIdentityLight
    ICacheKey
    ICacheExpiring
    ITimestamped
    ICanPurgeListCache
    IHasLog
    IDataTarget
    IDataPartShared
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX