/// <summary> /// Create a new OrdenTrabajo object. /// </summary> /// <param name="idOrdenTrabajo">Initial value of the IdOrdenTrabajo property.</param> /// <param name="idPresupuesto">Initial value of the IdPresupuesto property.</param> /// <param name="idPersona">Initial value of the IdPersona property.</param> /// <param name="idArticulo">Initial value of the IdArticulo property.</param> /// <param name="kilometraje">Initial value of the Kilometraje property.</param> /// <param name="deposito">Initial value of the Deposito property.</param> /// <param name="fechaRecepcion">Initial value of the FechaRecepcion property.</param> /// <param name="inicioReparacion">Initial value of the InicioReparacion property.</param> /// <param name="fechaIngreso">Initial value of the FechaIngreso property.</param> /// <param name="fechaEntrega">Initial value of the FechaEntrega property.</param> /// <param name="ivaTrabajos">Initial value of the IvaTrabajos property.</param> /// <param name="totalTrabajos">Initial value of the TotalTrabajos property.</param> /// <param name="ivaRepuestos">Initial value of the IvaRepuestos property.</param> /// <param name="totalRepuestos">Initial value of the TotalRepuestos property.</param> /// <param name="ivaOtros">Initial value of the IvaOtros property.</param> /// <param name="totalOtros">Initial value of the TotalOtros property.</param> /// <param name="idEstado">Initial value of the IdEstado property.</param> /// <param name="idEmpresa">Initial value of the IdEmpresa property.</param> public static OrdenTrabajo CreateOrdenTrabajo(global::System.Int32 idOrdenTrabajo, global::System.Int32 idPresupuesto, global::System.Int32 idPersona, global::System.Int32 idArticulo, global::System.Int32 kilometraje, global::System.Int32 deposito, global::System.DateTime fechaRecepcion, global::System.DateTime inicioReparacion, global::System.DateTime fechaIngreso, global::System.DateTime fechaEntrega, global::System.Decimal ivaTrabajos, global::System.Decimal totalTrabajos, global::System.Decimal ivaRepuestos, global::System.Decimal totalRepuestos, global::System.Decimal ivaOtros, global::System.Decimal totalOtros, global::System.Int32 idEstado, global::System.Int32 idEmpresa) { OrdenTrabajo ordenTrabajo = new OrdenTrabajo(); ordenTrabajo.IdOrdenTrabajo = idOrdenTrabajo; ordenTrabajo.IdPresupuesto = idPresupuesto; ordenTrabajo.IdPersona = idPersona; ordenTrabajo.IdArticulo = idArticulo; ordenTrabajo.Kilometraje = kilometraje; ordenTrabajo.Deposito = deposito; ordenTrabajo.FechaRecepcion = fechaRecepcion; ordenTrabajo.InicioReparacion = inicioReparacion; ordenTrabajo.FechaIngreso = fechaIngreso; ordenTrabajo.FechaEntrega = fechaEntrega; ordenTrabajo.IvaTrabajos = ivaTrabajos; ordenTrabajo.TotalTrabajos = totalTrabajos; ordenTrabajo.IvaRepuestos = ivaRepuestos; ordenTrabajo.TotalRepuestos = totalRepuestos; ordenTrabajo.IvaOtros = ivaOtros; ordenTrabajo.TotalOtros = totalOtros; ordenTrabajo.IdEstado = idEstado; ordenTrabajo.IdEmpresa = idEmpresa; return ordenTrabajo; }
/// <summary> /// Deprecated Method for adding a new object to the OrdenTrabajo EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOrdenTrabajo(OrdenTrabajo ordenTrabajo) { base.AddObject("OrdenTrabajo", ordenTrabajo); }