コード例 #1
0
        public decimal getBigDecimal(int id, int dec)
        {
            decimal value = _gxDbCommand.Db.GetDecimal(_gxDbCommand, _DR, id - 1);

            GXLogging.Trace(log, "getBigDecimal - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }
コード例 #2
0
        public IGeographicNative getGeospatial(int id)
        {
            IGeographicNative value = _gxDbCommand.Db.GetGeospatial(_gxDbCommand, _DR, id - 1);

            GXLogging.Trace(log, "getGeospatial - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }
コード例 #3
0
        public DateTime getGXDate(int id)
        {
            DateTime value = getDate(id);

            GXLogging.Trace(log, "getGXDate - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }
コード例 #4
0
        public string getVarchar(int id)
        {
            string value = _gxDbCommand.Db.GetString(_gxDbCommand, _DR, id - 1);

            GXLogging.Trace(log, "getVarchar - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }
コード例 #5
0
        public string getBLOBFile(int id)
        {
            string value = getBLOBFile(id, "tmp", "");

            GXLogging.Trace(log, "getBLOBFile - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }
コード例 #6
0
        public DateTime getDate(int id)
        {
            DateTime value = _gxDbCommand.Db.GetDate(_gxDbCommand, _DR, id - 1);

            GXLogging.Trace(log, "getDate - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }
コード例 #7
0
        public DateTime getGXDateTime(int id)
        {
            DateTime value = DateTimeUtil.DBserver2local(getDateTime(id, false), _gxDbCommand.Conn.ClientTimeZone);

            GXLogging.Trace(log, "getGXDateTime - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }
コード例 #8
0
        public long getLong(int id)
        {
            long value = _gxDbCommand.Db.GetLong(_gxDbCommand, _DR, id - 1);

            GXLogging.Trace(log, "getLong - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }
コード例 #9
0
        public Guid getGuid(int id)
        {
            Guid value = _gxDbCommand.Db.GetGuid(_gxDbCommand, _DR, id - 1);

            GXLogging.Trace(log, "getGuid - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }
コード例 #10
0
        public bool getBool(int id)
        {
            bool value = _gxDbCommand.Db.GetBoolean(_gxDbCommand, _DR, id - 1);

            GXLogging.Trace(log, "getBool - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }
コード例 #11
0
        public int getInt(int id)
        {
            int value = _gxDbCommand.Db.GetInt(_gxDbCommand, _DR, id - 1);

            GXLogging.Trace(log, "getInt - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }
コード例 #12
0
        public string getBLOBFile(int id, string extension, string name)
        {
            string fileName = FileUtil.getTempFileName(_gxDbCommand.Conn.BlobPath, name, extension, GxFileType.PrivateAttribute);
            String value    = getBLOBFile(id, extension, name, fileName, true);

            GXLogging.Trace(log, "getBLOBFile - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }
コード例 #13
0
        public DateTime getDateTime(int id, Boolean precision)
        {
            DateTime value;

            if (precision)
            {
                value = _gxDbCommand.Db.GetDateTimeMs(_gxDbCommand, _DR, id - 1);
            }
            else
            {
                value = _gxDbCommand.Db.GetDateTime(_gxDbCommand, _DR, id - 1);
            }
            GXLogging.Trace(log, "getDateTime - index : ", id.ToString(), " value:", value.ToString());
            return(value);
        }