public static PxMainTable BuildTableFromFile(string path, string tableId)
        {
            PxMainTable tbl = new  PxMainTable();

            tbl.TableId = tableId;

            ExcelFileWrapper excel = new ExcelFileWrapper(path);

            BuildContents(excel.GetSheetData("Contents"), tbl);
            BuildVariables(excel.GetSheetData("Variables"), tbl);

            return tbl;
        }
Esempio n. 2
0
        public static PxMainTable BuildTableFromFile(string path, string tableId)
        {
            PxMainTable tbl = new  PxMainTable();

            tbl.TableId = tableId;

            ExcelFileWrapper excel = new ExcelFileWrapper(path);

            BuildContents(excel.GetSheetData("Contents"), tbl);
            BuildVariables(excel.GetSheetData("Variables"), tbl);


            return(tbl);
        }