예제 #1
0
        /// <summary>Format an insert request.</summary>
        /// <param name="parent"/>
        /// <param name="tabl"/>
        /// <param name="uri"/>
        ///
        /// <see cref="JProtocol.CRUD"/>
        /// .C R U D
        /// </param>
        /// <returns>a new update request</returns>
        public static AnInsertReq formatInsertReq(AnsonMsg parent, string tabl, string uri)
        {
            AnInsertReq bdItem = (AnInsertReq) new AnInsertReq(uri, parent).A(JProtocol.CRUD.C);

            bdItem.mtabl = tabl;
            return(bdItem);
        }
예제 #2
0
        /// <summary>Format an insert request.</summary>
        /// <param name="conn"/>
        /// <param name="parent"/>
        /// <param name="tabl"/>
        /// <param name="cmd">
        ///
        /// <see cref="JProtocol.CRUD"/>
        /// .C R U D
        /// </param>
        /// <returns>a new update request</returns>
        public static AnInsertReq formatInsertReq(string conn, AnsonMsg parent, string tabl)
        {
            AnInsertReq bdItem = (AnInsertReq) new AnInsertReq(parent, conn).A(JProtocol.CRUD.C);

            bdItem.mtabl = tabl;
            return(bdItem);
        }