示例#1
0
 protected override void DoRead(DatAdmin.IDataQueue queue)
 {
     try
     {
         foreach (var row in GetTable().Rows)
         {
             queue.PutRecord(row);
         }
         queue.PutEof();
     }
     catch (Exception err)
     {
         Errors.Report(err);
         queue.PutError(err);
     }
     finally
     {
         queue.CloseWriting();
     }
 }
示例#2
0
 protected override void DoWrite(DatAdmin.IDataQueue queue)
 {
     throw new NotImplementedError("DAE-00150");
 }