Exemplo n.º 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;
 }
Exemplo n.º 2
0
 public ProductType()
 {
     using (ProductTypeServiceClient client = new ProductTypeServiceClient())
     {
         Proxy = client.CreateProductType();
         client.Close();
     }
 }