Search Results for

    Show / Hide Table of Contents

    Class ExcelFileInfo

    A class holding all the information for the file to be exported into excel via ExcelWriter

    Inheritance
    object
    ExcelFileInfo
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.Client.Core.Support
    Assembly: LemonEdge.ClientCore.dll
    Syntax
    public class ExcelFileInfo

    Constructors

    ExcelFileInfo()

    Declaration
    public ExcelFileInfo()

    Properties

    Columns

    A list of all the column data incase this file is being opened for viewing instead of saving

    Declaration
    public IEnumerable<(string ColumnName, Type ColumnType)> Columns { get; set; }
    Property Value
    Type Description
    IEnumerable<(string ColumnName, Type ColumnType)>

    FileData

    The binary date for the file to be saved

    Declaration
    public byte[] FileData { get; set; }
    Property Value
    Type Description
    byte[]

    ForEntityTypeID

    The ID of the type of entity this data set was generated from

    Declaration
    public Guid? ForEntityTypeID { get; set; }
    Property Value
    Type Description
    Guid?

    ForQueryRunnerID

    The ID of a IQueryRunner this data was generated from

    Declaration
    public Guid? ForQueryRunnerID { get; set; }
    Property Value
    Type Description
    Guid?

    ForSQLWrapperID

    The ID of a ISQLWrapper this data was generated from

    Declaration
    public Guid? ForSQLWrapperID { get; set; }
    Property Value
    Type Description
    Guid?

    MultipleFiles

    Holds multiple files to be loaded into excel

    This will be null for a single file, but FileData will be null for multiple

    Declaration
    public (string RootDirectoryForFiles, IEnumerable<(FileInfo File, IEnumerable<(string ColumnName, Type ColumnType)> Columns)> FileInfo) MultipleFiles { get; set; }
    Property Value
    Type Description
    (string RootDirectoryForFiles, IEnumerable<(FileInfo File, IEnumerable<(string ColumnName, Type ColumnType)> Columns)> FileInfo)

    SuggestedName

    The suggessted file name for saving the file with

    Declaration
    public string SuggestedName { get; set; }
    Property Value
    Type Description
    string

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.