コード例 #1
0
ファイル: FlashUtils.cs プロジェクト: vancourt/BaseGunnyII
 public static XElement CreateShopGoodsShowListInfo(ShopGoodsShowListInfo info)
 {
     return new XElement("Item", new XAttribute("Type", info.Type),
            new XAttribute("ShopId", info.ShopId));
 }
コード例 #2
0
 public ShopGoodsShowListInfo InitShopGoodsShowListInfo(SqlDataReader reader)
 {
     ShopGoodsShowListInfo info = new ShopGoodsShowListInfo();
     info.Type = (int)reader["Type"];
     info.ShopId = (int)reader["ShopId"];
     return info;
 }