Exemple #1
0
 /// <summary>
 /// Suprime un registro de la tabla DatosPersonales por una clave primaria(primary key).
 /// </summary>
 /// <remarks>
 /// </remarks>
 /// <history>
 ///     [JEISOLO]	23/09/2017 22:58:17
 /// </history>
 public static void Delete(int nroReg)
 {
     try
     {
         DALDatosPersonales.Delete(nroReg);
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #2
0
 /// <summary>
 /// Elimina un registro de la tabla DatosPersonales a través de una foreign key.
 /// </summary>
 /// <remarks>
 /// </remarks>
 /// <history>
 ///     [JEISOLO]	23/09/2017 22:58:17
 /// </history>
 public static void DeleteByIdUsr(string idUsr)
 {
     try
     {
         DALDatosPersonales.DeleteByIdUsr(idUsr);
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #3
0
 /// <summary>
 /// Selecciona todos los registros de la tabla DatosPersonales a través de una foreign key.
 /// </summary>
 /// <param name="idUsr"></param>
 /// <returns>DataSet</returns>
 /// <remarks>
 /// </remarks>
 /// <history>
 ///     [JEISOLO]	23/09/2017 22:58:17
 /// </history>
 public static DataSet SelectByIdUsr(string idUsr)
 {
     try
     {
         return(DALDatosPersonales.SelectByIdUsr(idUsr));
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #4
0
 /// <summary>
 /// Selecciona todos los registros de la tabla DatosPersonales.
 /// </summary>
 /// <returns>DataSet</returns>
 /// <remarks>
 /// </remarks>
 /// <history>
 ///     [JEISOLO]	23/09/2017 22:58:17
 /// </history>
 public static DataSet SelectAll()
 {
     try
     {
         return(DALDatosPersonales.SelectAll());
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #5
0
 /// <summary>
 /// Actualiza registros de la tabla DatosPersonales.
 /// </summary>
 /// <param name="nroReg"></param>
 /// <param name="idUsr"></param>
 /// <param name="tipoDoc"></param>
 /// <param name="nroDoc"></param>
 /// <param name="email"></param>
 /// <param name="telefono"></param>
 /// <param name="tipoTelefono"></param>
 /// <param name="aliasEmp"></param>
 /// <remarks>
 /// </remarks>
 /// <history>
 ///     [JEISOLO]	23/09/2017 22:58:17
 /// </history>
 public static void Update(string idUsr, string tipoDoc, string nroDoc, string email, string telefono, string tipoTelefono, string aliasEmp,
                           string nombre, string apellido, string direccion, string cuil)
 {
     try
     {
         DALDatosPersonales.Update(idUsr, tipoDoc, nroDoc, email, telefono, tipoTelefono, aliasEmp, nombre, apellido, direccion, cuil);
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #6
0
 /// <summary>
 /// Inserta registros dentro de la tabla DatosPersonales.
 /// </summary>
 /// <param name="idUsr"></param>
 /// <param name="tipoDoc"></param>
 /// <param name="nroDoc"></param>
 /// <param name="email"></param>
 /// <param name="telefono"></param>
 /// <param name="tipoTelefono"></param>
 /// <param name="aliasEmp"></param>
 /// <returns></returns>
 /// <remarks>
 /// </remarks>
 /// <history>
 ///     [JEISOLO]	23/09/2017 22:58:17
 /// </history>
 public static int Insert(string idUsr, string tipoDoc, string nroDoc, string email, string telefono, string tipoTelefono, string aliasEmp,
                          string nombre, string apellido, string direccion, string cuil)
 {
     try
     {
         return(DALDatosPersonales.Insert(idUsr, tipoDoc, nroDoc, email, telefono, tipoTelefono, aliasEmp, nombre, apellido, direccion, cuil));
     }
     catch (Exception)
     {
         throw;
     }
 }
Exemple #7
0
 /// <summary>
 /// Selecciona un registro desde la tabla DatosPersonales.
 /// </summary>
 /// <returns>DataSet</returns>
 /// <remarks>
 /// </remarks>
 /// <history>
 ///     [JEISOLO]	23/09/2017 22:58:17
 /// </history>
 public static DataSet Select(int nroReg)
 {
     return(DALDatosPersonales.Select(nroReg));
 }