Beispiel #1
0
 public Struct_Remito(System.Data.DataRow DR)
 {
     IdRemito     = int.Parse(DR["Id"].ToString());
     UserId       = int.Parse(DR["IdUser"].ToString());
     IdProveedor  = int.Parse(DR["IdProveedor"].ToString());
     Supplier     = new Struct_Supplier(UserId, IdProveedor);
     NumeroRemito = DR["NroRemito"].ToString();
     Fecha        = DateTime.Parse(DR["Fecha"].ToString());
     total        = Statics.Conversion.GetDecimal(DR["Total"].ToString());
 }
Beispiel #2
0
 public Struct_Supplier set_SUPPLIER(int idSupplier)
 {
     Supplier = new Struct_Supplier(UserId, idSupplier);
     if (Supplier != null)
     {
         return(Supplier);
     }
     else
     {
         return(null);
     }
 }