예제 #1
0
 /// <summary>
 /// Constuctor sin parametros 
 /// </summary>
 public Especial()
 {
     Data.dsFacturaTableAdapters.FacturasHeaderTableAdapter Adapter1 = new Data.dsFacturaTableAdapters.FacturasHeaderTableAdapter();
     this.FacturasCount = (int) Adapter1.CountFacturas();
     Data.dsClienteTableAdapters.ClienteTableAdapter Adapter2 =
         new Data.dsClienteTableAdapters.ClienteTableAdapter();
     this.ClientesCount = (int)Adapter2.CountClientes();
     Data.dsEmpleadoTableAdapters.EmpleadoTableAdapter Adapter3 =
         new Data.dsEmpleadoTableAdapters.EmpleadoTableAdapter();
     this.EmpleadosSuma = (int) Adapter3.SumEmpleados();
     Data.dsProductoTableAdapters.ProductosTableAdapter Adapter4 = new Data.dsProductoTableAdapters.ProductosTableAdapter();
     this.ProductosSum = (int) Adapter4.SumProductosInv();
 }