Exemple #1
0
 public ProductType(Arbinada.GenieLamp.Warehouse.Services.Warehouse.ProductTypeProxy source)
 {
     if (source == null)
     {
         throw new NullReferenceException("Source proxy object cannot be null");
     }
     this.Proxy = source;
 }
Exemple #2
0
 public ProductType()
 {
     using (ProductTypeServiceClient client = new ProductTypeServiceClient())
     {
         Proxy = client.CreateProductType();
         client.Close();
     }
 }