Beispiel #1
0
        public void CreatClazz()
        {
            SugarTest st = new SugarTest();

            st.testsql("RegUserInfo");
            Assert.AreEqual(1, 1);
        }
Beispiel #2
0
        public void CreatClazz()
        {
            SugarTest st = new SugarTest();

            st.testsql("SysVer");
            Assert.AreEqual(1, 1);
        }
Beispiel #3
0
        // GET api/values
        public string TestSugarorm()
        {
            SugarTest    st  = new SugarTest();
            List <Goods> sds = st.testsql("") as List <Goods>;
            string       s   = "";

            foreach (Goods sd in sds)
            {
                s += sd.id;
            }
            return(s);
        }