Esempio n. 1
0
        public long CreateUser(string name)
        {
            var entity = new { ID = CFID.NewID(), Name = "张三" };

            dbQuery.Execute(DBBuilder.Insert("TCTest", entity));
            Console.WriteLine("用户已创建,用户编号:" + entity.ID);
            return(entity.ID);
        }
Esempio n. 2
0
 public void Execute(string sql)
 {
     _query.Execute(sql);
 }