Exemple #1
0
 public Product cast2Product(ProductCRVM product2BCasted)
 {
     return(new Product
     {
         ProductName = product2BCasted.ProductName,
         ProductID = product2BCasted.ProductID,
         ProductDescription = product2BCasted.ProductDescription,
         ProductPrice = product2BCasted.ProductPrice
     });
 }
Exemple #2
0
 public Product cast2Product(ProductCRVM product2BCasted)
 {
     return(new Product
     {
         ProductName = product2BCasted.ProductName,
         Price = product2BCasted.Price,
         ProductDescription = product2BCasted.ProductDescription,
         LocationId = product2BCasted.LocationId
     });
 }
Exemple #3
0
 public Product cast2Product(ProductCRVM product2BCasted)
 {
     return(new Product
     {
         ProdName = product2BCasted.ProdName,
         ProdPrice = product2BCasted.ProdPrice,
         ProdCategory = product2BCasted.ProdCategory,
         ProdBrandName = product2BCasted.ProdBrandName,
         Description = product2BCasted.Description,
     });
 }