问题:在写订单查询时执行OrderInfromation的listGoods属性报错

解决方法:初始化listGoods

 public OrderInfromation()
        {
            listGoods = new List<GoodsInfromation>();
         }
        public List<GoodsInfromation> listGoods { get; set; }
       未将对象实例化

相关文章:

  • 2021-05-28
  • 2021-06-30
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-04-01
  • 2022-12-23
  • 2022-12-23
  • 2021-09-04
相关资源
相似解决方案