예제 #1
0
        public void getResults(int cursor,
                               IFieldGetter rslt,
                               Object[] buf)
        {
            switch (cursor)
            {
            case 0:
                ((int[])buf[0])[0] = rslt.getInt(1);
                return;

            case 1:
                ((String[])buf[0])[0] = rslt.getString(1, 255);
                return;

            case 2:
                ((String[])buf[0])[0] = rslt.getString(1, 255);
                return;

            case 3:
                ((String[])buf[0])[0] = rslt.getVarchar(1);
                ((String[])buf[1])[0] = rslt.getVarchar(2);
                ((String[])buf[2])[0] = rslt.getVarchar(3);
                return;
            }
        }
예제 #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;
     }
 }
예제 #3
0
        public void getResults(int cursor,
                               IFieldGetter rslt,
                               Object[] buf)
        {
            switch (cursor)
            {
            case 0:
                ((int[])buf[0])[0] = rslt.getInt(1);
                break;

            case 1:
                ((String[])buf[0])[0] = rslt.getString(1, 255);
                break;

            case 2:
                ((String[])buf[0])[0] = rslt.getString(1, 255);
                break;
            }
        }