Ejemplo n.º 1
0
        public void getResults(int cursor,
                               IFieldGetter rslt,
                               Object[] buf)
        {
            switch (cursor)
            {
            case 0:
                ((Guid[])buf[0])[0]   = rslt.getGuid(1);
                ((String[])buf[1])[0] = rslt.getVarchar(2);
                return;

            case 1:
                ((Guid[])buf[0])[0]   = rslt.getGuid(1);
                ((String[])buf[1])[0] = rslt.getVarchar(2);
                return;

            case 2:
                ((Guid[])buf[0])[0]   = rslt.getGuid(1);
                ((String[])buf[1])[0] = rslt.getVarchar(2);
                return;

            case 3:
                ((Guid[])buf[0])[0]   = rslt.getGuid(1);
                ((String[])buf[1])[0] = rslt.getVarchar(2);
                return;

            case 6:
                ((Guid[])buf[0])[0]   = rslt.getGuid(1);
                ((String[])buf[1])[0] = rslt.getVarchar(2);
                return;
            }
        }
Ejemplo n.º 2
0
        public void getResults(int cursor,
                               IFieldGetter rslt,
                               Object[] buf)
        {
            switch (cursor)
            {
            case 0:
                ((Guid[])buf[0])[0] = rslt.getGuid(1);
                ((Guid[])buf[1])[0] = rslt.getGuid(2);
                return;

            case 1:
                ((Guid[])buf[0])[0] = rslt.getGuid(1);
                ((Guid[])buf[1])[0] = rslt.getGuid(2);
                return;

            case 2:
                ((Guid[])buf[0])[0] = rslt.getGuid(1);
                return;

            case 3:
                ((Guid[])buf[0])[0] = rslt.getGuid(1);
                return;

            case 4:
                ((Guid[])buf[0])[0] = rslt.getGuid(1);
                ((Guid[])buf[1])[0] = rslt.getGuid(2);
                return;

            case 5:
                ((Guid[])buf[0])[0] = rslt.getGuid(1);
                ((Guid[])buf[1])[0] = rslt.getGuid(2);
                return;

            case 8:
                ((Guid[])buf[0])[0] = rslt.getGuid(1);
                ((Guid[])buf[1])[0] = rslt.getGuid(2);
                return;

            case 9:
                ((Guid[])buf[0])[0] = rslt.getGuid(1);
                return;

            case 10:
                ((Guid[])buf[0])[0] = rslt.getGuid(1);
                return;
            }
        }