/DICK.B1/B1ExportJob.cs
C# | 51 lines | 30 code | 4 blank | 17 comment | 0 complexity | 26c9e280a06ef2ff2d1720cfed03e335 MD5 | raw file
- /* This file is part of DI Construction Kit.
- *
- * DI Construction Kit is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * DI Construction Kit is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with DI Construction Kit. If not, see <http://www.gnu.org/licenses/>.
- *
- */
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.Data;
- using System.Xml;
- using System.Reflection;
- using DICK.Core;
- using DICK.Core.JobManagement;
-
- namespace DICK.B1
- {
- public class B1ExportJob:ExportJob
- {
- private B1ExportJob() { }
-
- public B1ExportJob(string jobid, XmlElement expData):base(jobid, expData)
- {
- //Initialize(jobid, expData);
- }
-
- public static B1ExportJob GetStub()
- {
- return new B1ExportJob();
- }
-
- protected override void PopulateExportKeyList(List<string> exportkeys)
- {
- List<object> keys=B1QueryTools.QueryColumnToList(B1Engine.GetInstance().session,SelectionQuery);
- foreach (string key in keys)
- {
- exportkeys.Add(key);
- }
- }
- }
- }