示例#1
0
 /// <summary>
 /// elimina una patente
 /// </summary>
 /// <param name="_object">patente</param>
 public static void Delete(Entities.UFP.Patente _object)
 {
     try
     {
         Patente.Delete(_object);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#2
0
 public static DataTable SelectAll()
 {
     try
     {
         return(Patente.SelectAll().Tables[0]);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#3
0
 /// <summary>
 /// inserta una patente
 /// </summary>
 /// <param name="_object">patente</param>
 public static void Insert(Entities.UFP.Patente _object)
 {
     try
     {
         Patente.Insert(_object);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
示例#4
0
 public static DataRow Select(System.String IdFamiliaElement)
 {
     try
     {
         return(Patente.Select(IdFamiliaElement).Tables[0].Rows[0]);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }