/// <summary> /// Deprecated Method for adding a new object to the CuentasPayCenters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCuentasPayCenters(CuentaPayCenter cuentaPayCenter) { base.AddObject("CuentasPayCenters", cuentaPayCenter); }
/// <summary> /// Create a new CuentaPayCenter object. /// </summary> /// <param name="payCenterId">Initial value of the PayCenterId property.</param> /// <param name="cuentaId">Initial value of the CuentaId property.</param> /// <param name="proveedorId">Initial value of the ProveedorId property.</param> /// <param name="tipoCuenta">Initial value of the TipoCuenta property.</param> /// <param name="baja">Initial value of the Baja property.</param> public static CuentaPayCenter CreateCuentaPayCenter(global::System.Int32 payCenterId, global::System.Int32 cuentaId, global::System.Int32 proveedorId, global::System.Int16 tipoCuenta, global::System.Boolean baja) { CuentaPayCenter cuentaPayCenter = new CuentaPayCenter(); cuentaPayCenter.PayCenterId = payCenterId; cuentaPayCenter.CuentaId = cuentaId; cuentaPayCenter.ProveedorId = proveedorId; cuentaPayCenter.TipoCuenta = tipoCuenta; cuentaPayCenter.Baja = baja; return cuentaPayCenter; }