Search Results for

    Show / Hide Table of Contents

    Class StackHelper

    Stellt diverse Hilfsfunktionen zum Umgang mit Ablagen zur Verfügung

    Inheritance
    System.Object
    StackHelper
    Namespace: Simplic.Framework.Extension
    Assembly: Simplic.Framework.Extension.dll
    Syntax
    public class StackHelper : object

    Properties

    | Improve this Doc View Source

    Singleton

    Declaration
    public static StackHelper Singleton { get; }
    Property Value
    Type Description
    StackHelper

    Methods

    | Improve this Doc View Source

    AddonTableExists(String)

    Return true, if an addon-table exists

    Declaration
    public bool AddonTableExists(string stackName)
    Parameters
    Type Name Description
    System.String stackName

    Name of the stack

    Returns
    Type Description
    System.Boolean

    True an Addon-Table exists

    | Improve this Doc View Source

    GetInstanceDataColumns(Guid, Boolean)

    Get a list of all instance data columns by the connected stack

    Declaration
    public IDictionary<string, InstanceDataColumn> GetInstanceDataColumns(Guid stackGuid, bool containDefaultProperties = false)
    Parameters
    Type Name Description
    Guid stackGuid

    Unique id (guid) of the stack

    System.Boolean containDefaultProperties

    Defines, wether the returned columns list contains the following columns: guid, mndident, datasourceid, dccstatus, hashvalue

    Returns
    Type Description
    IDictionary<System.String, InstanceDataColumn>

    Dictionary of columns, the key of the dictionary is the column name in lower letters

    | Improve this Doc View Source

    GetInstanceDataContent(Guid, Guid)

    Get the content of the instancedata as string

    Declaration
    public string GetInstanceDataContent(Guid StackGuid, Guid InstanceDataGuid)
    Parameters
    Type Name Description
    Guid StackGuid

    Guid of the stack

    Guid InstanceDataGuid

    Guid of the instancedata

    Returns
    Type Description
    System.String

    All values of the instancedata as string

    | Improve this Doc View Source

    GetInstanceDataHeader(Guid, Guid)

    Returns the Headline of the instancedata

    Declaration
    public string GetInstanceDataHeader(Guid StackGuid, Guid InstanceDataGuid)
    Parameters
    Type Name Description
    Guid StackGuid

    Guid of the stack

    Guid InstanceDataGuid

    Guid of the instancedata

    Returns
    Type Description
    System.String

    Returns the Headline of the instancedata as string

    | Improve this Doc View Source

    GetStackGuidByName(String)

    Gibt die Guid einer Ablage anhand des Ablagennamen wieder

    Declaration
    public Guid GetStackGuidByName(string StackName)
    Parameters
    Type Name Description
    System.String StackName

    Name der Ablage (intern)

    Returns
    Type Description
    Guid

    Wenn eine Ablage Gefunden wurde, die Guid der Ablage ansonsten eine leere Guid

    | Improve this Doc View Source

    GetStackNameByGuid(Guid)

    Gibt den Namen einer Ablage anhand der Ablagenguid wieder

    Declaration
    public string GetStackNameByGuid(Guid StackGuid)
    Parameters
    Type Name Description
    Guid StackGuid

    Guid der Ablage

    Returns
    Type Description
    System.String

    Interner Name der Ablage

    | Improve this Doc View Source

    GetTableName(Guid, String)

    Gibt den Namen der Ablagentabelle zurück

    Declaration
    public string GetTableName(Guid StackGuid, string ConnectionStringName = "")
    Parameters
    Type Name Description
    Guid StackGuid

    Guid der Ablage

    System.String ConnectionStringName

    Verbindungszeichenfolgenname

    Returns
    Type Description
    System.String

    Tabellenname, wurde keine Tabelle geunfden wird ein Leerstring zurück gegeben

    | Improve this Doc View Source

    IsStackExisting(Guid)

    Überprüft, ob eine Ablage mit der angegeben Guid existiert

    Declaration
    public bool IsStackExisting(Guid StackGuid)
    Parameters
    Type Name Description
    Guid StackGuid

    Guid der Ablage

    Returns
    Type Description
    System.Boolean

    True wenn die Ablage existiert, False wenn nicht

    | Improve this Doc View Source

    RenameStackTable(Guid, String)

    Bennen eine Ablagentabelle um

    Declaration
    public void RenameStackTable(Guid StackGuid, string NewTableName)
    Parameters
    Type Name Description
    Guid StackGuid

    Guid der Ablage

    System.String NewTableName

    Neuer Tabellenname

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx