private static RelatedProduct DBMapping(DBRelatedProduct dbItem)
        {
            if (dbItem == null)
                return null;

            RelatedProduct item = new RelatedProduct();
            item.RelatedProductID = dbItem.RelatedProductID;
            item.ProductID1 = dbItem.ProductID1;
            item.ProductID2 = dbItem.ProductID2;
            item.DisplayOrder = dbItem.DisplayOrder;

            return item;
        }
 private DBRelatedProduct GetRelatedProductFromReader(IDataReader dataReader)
 {
     DBRelatedProduct relatedProduct = new DBRelatedProduct();
     relatedProduct.RelatedProductID = NopSqlDataHelper.GetInt(dataReader, "RelatedProductID");
     relatedProduct.ProductID1 = NopSqlDataHelper.GetInt(dataReader, "ProductID1");
     relatedProduct.ProductID2 = NopSqlDataHelper.GetInt(dataReader, "ProductID2");
     relatedProduct.DisplayOrder = NopSqlDataHelper.GetInt(dataReader, "DisplayOrder");
     return relatedProduct;
 }