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

            case 1:
                ((int[])buf[0])[0] = rslt.getInt(1);
                break;
            }
        }
Example #2
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;
            }
        }
Example #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;
            }
        }