コード例 #1
0
        internal ADO_readerOutput Read(string gmpCode)
        {
            GeoMap_ADO gAdo     = new GeoMap_ADO(ado);
            var        readData = gAdo.Read(gmpCode);

            return(readData);
        }
コード例 #2
0
        /// <summary>
        /// Execute
        /// </summary>
        /// <returns></returns>
        protected override bool Execute()
        {
            GeoMap_ADO gAdo     = new GeoMap_ADO(Ado);
            var        response = gAdo.ReadCollection(DTO.GmpCode);

            if (response.hasData)
            {
                Response.data = response.data;
            }
            return(true);
        }
コード例 #3
0
        /// <summary>
        /// Execute
        /// </summary>
        /// <returns></returns>
        protected override bool Execute()
        {
            GeoMap_ADO gAdo = new GeoMap_ADO(Ado);


            if (gAdo.Delete(DTO, SamAccountName) == 0)
            {
                Response.error = Label.Get("error.create");
                return(false);
            }
            MemCacheD.Remove_BSO <dynamic>("PxStat.Data", "GeoMap_BSO_Read", "Read", DTO.GmpCode);
            Response.data = JSONRPC.success;
            return(true);
        }
コード例 #4
0
        /// <summary>
        /// Execute
        /// </summary>
        /// <returns></returns>
        protected override bool Execute()
        {
            GeoMap_ADO gAdo    = new GeoMap_ADO(Ado);
            int        records = gAdo.Create(DTO, SamAccountName);

            if (records == 0)
            {
                Response.error = Label.Get("error.create");
                return(false);
            }

            Response.data = JSONRPC.success;
            return(true);
        }