コード例 #1
0
        public bool ExportToXML(Dictionary <string, string> valTableNameAndPK, int valSizePerPage, string valDirectory)
        {
            bool vResult = false;

            _IDataInfoRepository = new DataInfoRepository();
            _IDataInfoRepository.ExportToXML(valTableNameAndPK, valSizePerPage, valDirectory);
            return(vResult);
        }
コード例 #2
0
        public bool Import(string valDirectory)
        {
            bool vResult = false;

            _IDataInfoRepository = new DataInfoRepository();
            _IDataInfoRepository.ImportData(valDirectory);
            return(vResult);
        }
コード例 #3
0
        public bool ExportReportByListToXML(List <string> valListReports, int valSizePerPage, string valDirectory)
        {
            bool vResult = false;

            _IDataInfoRepository = new DataInfoRepository();
            _IDataInfoRepository.ExportReportByListToXML(valListReports, valSizePerPage, valDirectory);
            return(vResult);
        }
コード例 #4
0
        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");
        }