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); }
public void Execute(string sql) { _query.Execute(sql); }