public bool ExportToXML(Dictionary <string, string> valTableNameAndPK, int valSizePerPage, string valDirectory) { bool vResult = false; _IDataInfoRepository = new DataInfoRepository(); _IDataInfoRepository.ExportToXML(valTableNameAndPK, valSizePerPage, valDirectory); return(vResult); }
public bool Import(string valDirectory) { bool vResult = false; _IDataInfoRepository = new DataInfoRepository(); _IDataInfoRepository.ImportData(valDirectory); return(vResult); }
public bool ExportReportByListToXML(List <string> valListReports, int valSizePerPage, string valDirectory) { bool vResult = false; _IDataInfoRepository = new DataInfoRepository(); _IDataInfoRepository.ExportReportByListToXML(valListReports, valSizePerPage, valDirectory); return(vResult); }
private void Button_Click(object sender, RoutedEventArgs e) { _IDataInfoRepository = new DataInfoRepository(); List <string> vColunns = new List <string>(); vColunns.Add("ID"); vColunns.Add("Name"); _IDataInfoRepository.ExportToXML(vColunns, "dbo.Report", 1000, "Demo.xml"); }