Exemplo n.º 1
0
 public static XElement CreateShopGoodsShowListInfo(ShopGoodsShowListInfo info)
 {
     return new XElement("Item", new XAttribute("Type", info.Type),
            new XAttribute("ShopId", info.ShopId));
 }
Exemplo n.º 2
0
 public ShopGoodsShowListInfo InitShopGoodsShowListInfo(SqlDataReader reader)
 {
     ShopGoodsShowListInfo info = new ShopGoodsShowListInfo();
     info.Type = (int)reader["Type"];
     info.ShopId = (int)reader["ShopId"];
     return info;
 }