Beispiel #1
0
 public abstract void UpdateProduct(Product product);
Beispiel #2
0
 public static Product ToProduct(this DataRow dr)
 {
     Product product = new Product();
     product.Sku = dr.GetString("Sku");
     product.Name = dr.GetString("Name");
     product.GatewayID = dr.GetGuid("GatewayID");
     product.InitialAmount = dr.GetDouble("InitialPrice");
     product.RecurringAmount = dr.GetDouble("RecurringPrice");
     return product;
 }
Beispiel #3
0
 public abstract void InsertProduct(Product product);