/// <summary> /// Deprecated Method for adding a new object to the DetallePagos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDetallePagos(DetallePago detallePago) { base.AddObject("DetallePagos", detallePago); }
/// <summary> /// Create a new DetallePago object. /// </summary> /// <param name="pagoId">Initial value of the PagoId property.</param> /// <param name="detallePagoId">Initial value of the DetallePagoId property.</param> /// <param name="campo">Initial value of the Campo property.</param> /// <param name="valor">Initial value of the Valor property.</param> /// <param name="baja">Initial value of the Baja property.</param> public static DetallePago CreateDetallePago(global::System.Int32 pagoId, global::System.Int32 detallePagoId, global::System.String campo, global::System.String valor, global::System.Boolean baja) { DetallePago detallePago = new DetallePago(); detallePago.PagoId = pagoId; detallePago.DetallePagoId = detallePagoId; detallePago.Campo = campo; detallePago.Valor = valor; detallePago.Baja = baja; return detallePago; }