/// <summary> /// Deprecated Method for adding a new object to the DetallesContratos EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToDetallesContratos(DetallesContratos detallesContratos) { base.AddObject("DetallesContratos", detallesContratos); }
/// <summary> /// Create a new DetallesContratos object. /// </summary> /// <param name="pkDetallesID">Initial value of the pkDetallesID property.</param> /// <param name="fkContratosID">Initial value of the fkContratosID property.</param> /// <param name="monto">Initial value of the Monto property.</param> /// <param name="interes">Initial value of the Interes property.</param> /// <param name="fechaLiquidacion">Initial value of the FechaLiquidacion property.</param> /// <param name="fechaVencimiento">Initial value of the FechaVencimiento property.</param> /// <param name="asDias">Initial value of the asDias property.</param> /// <param name="asMontoVencido">Initial value of the asMontoVencido property.</param> /// <param name="asMontoCobrado">Initial value of the asMontoCobrado property.</param> /// <param name="asAbonoCapital">Initial value of the asAbonoCapital property.</param> /// <param name="fechaCobro">Initial value of the FechaCobro property.</param> /// <param name="asSaldoPendiente">Initial value of the asSaldoPendiente property.</param> /// <param name="fechaCreacion">Initial value of the FechaCreacion property.</param> /// <param name="fechaActualizacion">Initial value of the FechaActualizacion property.</param> public static DetallesContratos CreateDetallesContratos(global::System.Int32 pkDetallesID, global::System.Int32 fkContratosID, global::System.String monto, global::System.String interes, global::System.Int32 fechaLiquidacion, global::System.DateTime fechaVencimiento, global::System.String asDias, global::System.String asMontoVencido, global::System.String asMontoCobrado, global::System.String asAbonoCapital, global::System.DateTime fechaCobro, global::System.String asSaldoPendiente, global::System.DateTime fechaCreacion, global::System.DateTime fechaActualizacion) { DetallesContratos detallesContratos = new DetallesContratos(); detallesContratos.pkDetallesID = pkDetallesID; detallesContratos.fkContratosID = fkContratosID; detallesContratos.Monto = monto; detallesContratos.Interes = interes; detallesContratos.FechaLiquidacion = fechaLiquidacion; detallesContratos.FechaVencimiento = fechaVencimiento; detallesContratos.asDias = asDias; detallesContratos.asMontoVencido = asMontoVencido; detallesContratos.asMontoCobrado = asMontoCobrado; detallesContratos.asAbonoCapital = asAbonoCapital; detallesContratos.FechaCobro = fechaCobro; detallesContratos.asSaldoPendiente = asSaldoPendiente; detallesContratos.FechaCreacion = fechaCreacion; detallesContratos.FechaActualizacion = fechaActualizacion; return detallesContratos; }