public static ObservableCollection <Zdinfo> GetMDBToZdinfos(string mdbPath) { //IList<Zdinfo> list = ExcelUtils.GetExcelToObject<NF>(path, XMLPath); ObservableCollection <Zdinfo> list = Utils.ListToObservableCollection(MDBUtils.ReadAllData <Zdinfo>("Zdinfo", mdbPath)); return(list); }