예제 #1
0
 /// <summary>
 /// Selecciona un registro desde la tabla MedioDePago.
 /// </summary>
 /// <returns>DataSet</returns>
 /// <remarks>
 /// </remarks>
 /// <history>
 ///     [JEISOLO]	23/09/2017 22:58:17
 /// </history>
 public static DataSet Select(int idMedioPago)
 {
     try
     {
         return(DALMedioDePago.Select(idMedioPago));
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #2
0
 /// <summary>
 /// Suprime un registro de la tabla MedioDePago por una clave primaria(primary key).
 /// </summary>
 /// <remarks>
 /// </remarks>
 /// <history>
 ///     [JEISOLO]	23/09/2017 22:58:17
 /// </history>
 public static void Delete(int idMedioPago)
 {
     try
     {
         DALMedioDePago.Delete(idMedioPago);
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #3
0
 /// <summary>
 /// Inserta registros dentro de la tabla MedioDePago.
 /// </summary>
 /// <param name="descripcion"></param>
 /// <returns></returns>
 /// <remarks>
 /// </remarks>
 /// <history>
 ///     [JEISOLO]	23/09/2017 22:58:17
 /// </history>
 public static int Insert(string descripcion)
 {
     try
     {
         return(DALMedioDePago.Insert(descripcion));
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #4
0
 /// <summary>
 /// Actualiza registros de la tabla MedioDePago.
 /// </summary>
 /// <param name="idMedioPago"></param>
 /// <param name="descripcion"></param>
 /// <remarks>
 /// </remarks>
 /// <history>
 ///     [JEISOLO]	23/09/2017 22:58:17
 /// </history>
 public static void Update(int idMedioPago, string descripcion)
 {
     try
     {
         DALMedioDePago.Update(idMedioPago, descripcion);
     }
     catch (Exception)
     {
         throw;
     }
 }
예제 #5
0
 /// <summary>
 /// Selecciona todos los registros de la tabla MedioDePago.
 /// </summary>
 /// <returns>DataSet</returns>
 /// <remarks>
 /// </remarks>
 /// <history>
 ///     [JEISOLO]	23/09/2017 22:58:17
 /// </history>
 public static DataSet SelectAll()
 {
     try
     {
         return(DALMedioDePago.SelectAll());
     }
     catch (Exception)
     {
         throw;
     }
 }