PageRenderTime 65ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/DICK.B1/B1ExportJob.cs

https://bitbucket.org/williamybs/uidipythontool
C# | 51 lines | 30 code | 4 blank | 17 comment | 0 complexity | 26c9e280a06ef2ff2d1720cfed03e335 MD5 | raw file
  1. /* This file is part of DI Construction Kit.
  2. *
  3. * DI Construction Kit is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU Lesser General Public License as published by
  5. * the Free Software Foundation, either version 3 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * DI Construction Kit is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU Lesser General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU Lesser General Public License
  14. * along with DI Construction Kit. If not, see <http://www.gnu.org/licenses/>.
  15. *
  16. */
  17. using System;
  18. using System.Collections.Generic;
  19. using System.Text;
  20. using System.Data;
  21. using System.Xml;
  22. using System.Reflection;
  23. using DICK.Core;
  24. using DICK.Core.JobManagement;
  25. namespace DICK.B1
  26. {
  27. public class B1ExportJob:ExportJob
  28. {
  29. private B1ExportJob() { }
  30. public B1ExportJob(string jobid, XmlElement expData):base(jobid, expData)
  31. {
  32. //Initialize(jobid, expData);
  33. }
  34. public static B1ExportJob GetStub()
  35. {
  36. return new B1ExportJob();
  37. }
  38. protected override void PopulateExportKeyList(List<string> exportkeys)
  39. {
  40. List<object> keys=B1QueryTools.QueryColumnToList(B1Engine.GetInstance().session,SelectionQuery);
  41. foreach (string key in keys)
  42. {
  43. exportkeys.Add(key);
  44. }
  45. }
  46. }
  47. }