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