public static BuyerFixedPricePeriodItemEntity getBybpId(int bpId)
 {
     DataRow dr = DbHelper.ExecuteDataRow("[dbo].[p_buyerFixedPricePeriodItem_getByBpId]", bpId);
     BuyerFixedPricePeriodItemEntity bpEnt = new BuyerFixedPricePeriodItemEntity();
     if (dr != null)
     {
         bpEnt.Fpid = Convert.ToInt32(dr["fpid"]);
         bpEnt.ProductId = Convert.ToInt32(dr["productId"]);
         bpEnt.SellerId = Convert.ToInt32(dr["sellerId"]);
         bpEnt.SellerPrice = Convert.ToDecimal(dr["sellerPrice"]);
         bpEnt.Price = Convert.ToDecimal(dr["price"]);
         bpEnt.InputDt = Convert.ToDateTime(dr["inputDt"]);
         bpEnt.AdminId = Convert.ToInt32(dr["adminId"]);
     }
     return bpEnt;
 }
 public static void insert(BuyerFixedPricePeriodItemEntity _bfpEnt)
 {
     BuyerFixedPricePeriodItem.insert(_bfpEnt);
 }
 public static int insert(BuyerFixedPricePeriodItemEntity _bfpEnt)
 {
     return Convert.ToInt32(DbHelper.ExecuteScalar("p_BuyerFixedPricePeriodItem_insert", _bfpEnt.Fpid,_bfpEnt.ProductId,_bfpEnt.SellerId,_bfpEnt.SellerPrice,_bfpEnt.Price,_bfpEnt.AdminId));
 }