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
    System.Object
    ExcelFileInfo
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Client.Core.Support
    Assembly: ClientCore.dll
    Syntax
    public class 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
    System.Collections.Generic.IEnumerable<System.ValueTuple<System.String, System.Type>>

    FileData

    The binary date for the file to be saved

    Declaration
    public byte[] FileData { get; set; }
    Property Value
    Type Description
    System.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
    System.Nullable<System.Guid>

    ForQueryRunnerID

    The ID of a IQueryRunner this data was generated from

    Declaration
    public Guid? ForQueryRunnerID { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Guid>

    ForSQLWrapperID

    The ID of a ISQLWrapper this data was generated from

    Declaration
    public Guid? ForSQLWrapperID { get; set; }
    Property Value
    Type Description
    System.Nullable<System.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
    System.ValueTuple<System.String, System.Collections.Generic.IEnumerable<System.ValueTuple<System.IO.FileInfo, System.Collections.Generic.IEnumerable<System.ValueTuple<System.String, System.Type>>>>>

    SuggestedName

    The suggessted file name for saving the file with

    Declaration
    public string SuggestedName { 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)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.