private static void InitAnalyse() { LogHelper.LogApp($"{MethodBase.GetCurrentMethod().Name}"); Database = DPAnalysis_Helper.GetDBName(); Relations = DPAnalysis_Helper.GetDBRelations(); DPAnalysis_Helper.GenerateOutputStructure(Database, Relations); }
private static void AttributAnalyse() { int i = 0, j = 0; foreach (string Relation in Relations) { LogHelper.LogApp($"{i+1}) {Relation}"); long RowCount = DPAnalysis_Helper.GetRelationRowCount(Relation); List <AttributeBaseData> L_ABD = DPAnalysis_Helper.GetAttributesBaseData(Relation, RowCount); List <AErgAttribut> _tmp = new List <AErgAttribut>(); j = 0; foreach (AttributeBaseData ABD in L_ABD) { LogHelper.LogApp($"{i + 1}.{j + 1}) {Relation}.[{ABD.AttributeName}]"); try { AErgAttribut _loc = DPAttribut.Analysis(Database, Relation, ABD.AttributeName, ABD); _tmp.Add(_loc); } catch (Exception e) { LogHelper.LogAppError(e); } j++; } AttributAnalyse_Results.Add(Relation, _tmp); i++; } }