コード例 #1
0
 public int AgregarPagoInteres(PagosIntere intere)
 {
     if (intere.FolioBoleta == string.Empty)
         throw new ValidationException("Selecione la boleta a Abonar");
     if (intere.Interes == 0)
         throw new ValidationException("El Monto a pagar no puede ser cero");
     _entidades.PagosInteres.InsertOnSubmit(intere);
     _entidades.SubmitChanges();
     return intere.Clave;
 }
コード例 #2
0
 partial void DeletePagosIntere(PagosIntere instance);
コード例 #3
0
 partial void UpdatePagosIntere(PagosIntere instance);
コード例 #4
0
 partial void InsertPagosIntere(PagosIntere instance);
コード例 #5
0
		private void detach_PagosInteres(PagosIntere entity)
		{
			this.SendPropertyChanging();
			entity.Usuario = null;
		}
コード例 #6
0
		private void attach_PagosInteres(PagosIntere entity)
		{
			this.SendPropertyChanging();
			entity.Boleta = this;
		}