private Boolean RequestWriteRowEvent(Object[] tRowItems, DataColumnCollection tColumns) { IBMDataExpoter tExporter = m_DBServerAgent as IBMDataExpoter; if (null != tExporter) { return(tExporter.Add(tRowItems)); } return(false); }
private Boolean BeginExportEvent(String tPath, String tSamplingName) { IBMDataExpoter tExporter = m_DBServerAgent as IBMDataExpoter; if (null != tExporter) { String tFilePath = tPath.Substring(0, tPath.IndexOf(System.IO.Path.GetFileName(tPath))); if (!System.IO.Directory.Exists(tFilePath)) { return(false); } tExporter.DefaultFilePath = tFilePath; return(m_DBServerAgent.Connect(m_DBServer.DataTable, System.IO.Path.GetFileNameWithoutExtension(tPath))); } return(m_DBServerAgent.Connect(m_DBServer.DataTable, tSamplingName)); }