public void getResults(int cursor,
                        IFieldGetter rslt,
                        Object[] buf)
 {
     switch (cursor)
     {
     case 0:
         ((decimal[])buf[0])[0]  = rslt.getDecimal(1);
         ((DateTime[])buf[1])[0] = rslt.getGXDate(2);
         ((DateTime[])buf[2])[0] = rslt.getGXDate(3);
         ((decimal[])buf[3])[0]  = rslt.getDecimal(4);
         ((short[])buf[4])[0]    = rslt.getShort(5);
         return;
     }
 }
Esempio n. 2
0
 public void getResults(int cursor,
                        IFieldGetter rslt,
                        Object[] buf)
 {
     switch (cursor)
     {
     case 0:
         ((DateTime[])buf[0])[0] = rslt.getGXDate(1);
         ((DateTime[])buf[1])[0] = rslt.getGXDate(2);
         ((String[])buf[2])[0]   = rslt.getString(3, 1);
         ((String[])buf[3])[0]   = rslt.getString(4, 1);
         ((short[])buf[4])[0]    = rslt.getShort(5);
         return;
     }
 }
Esempio n. 3
0
 public void getResults(int cursor,
                        IFieldGetter rslt,
                        Object[] buf)
 {
     switch (cursor)
     {
     case 0:
         ((String[])buf[0])[0]   = rslt.getVarchar(1);
         ((DateTime[])buf[1])[0] = rslt.getGXDate(2);
         ((String[])buf[2])[0]   = rslt.getVarchar(3);
         ((String[])buf[3])[0]   = rslt.getVarchar(4);
         ((long[])buf[4])[0]     = rslt.getLong(5);
         ((DateTime[])buf[5])[0] = rslt.getGXDate(6);
         return;
     }
 }
Esempio n. 4
0
 public void getResults(int cursor,
                        IFieldGetter rslt,
                        Object[] buf)
 {
     switch (cursor)
     {
     case 0:
         ((short[])buf[0])[0]    = rslt.getShort(1);
         ((String[])buf[1])[0]   = rslt.getVarchar(2);
         ((decimal[])buf[2])[0]  = rslt.getDecimal(3);
         ((bool[])buf[3])[0]     = rslt.getBool(4);
         ((short[])buf[4])[0]    = rslt.getShort(5);
         ((String[])buf[5])[0]   = rslt.getVarchar(6);
         ((DateTime[])buf[6])[0] = rslt.getGXDate(7);
         ((DateTime[])buf[7])[0] = rslt.getGXDate(8);
         return;
     }
 }
Esempio n. 5
0
 public void getResults(int cursor,
                        IFieldGetter rslt,
                        Object[] buf)
 {
     switch (cursor)
     {
     case 0:
         ((int[])buf[0])[0]      = rslt.getInt(1);
         ((bool[])buf[1])[0]     = rslt.wasNull(1);
         ((int[])buf[2])[0]      = rslt.getInt(2);
         ((DateTime[])buf[3])[0] = rslt.getGXDate(3);
         ((int[])buf[4])[0]      = rslt.getInt(4);
         break;
     }
 }