Ejemplo n.º 1
0
 public static void Insert(Patente _object)
 {
     try
     {
         PatenteDAL.Insert(_object);
     }
     catch (ExceptionDAL dalex)
     {
         throw new ExceptionBLL(dalex, dalex.Message);
     }
 }
Ejemplo n.º 2
0
        public static DataTable SelectAll()
        {
            DataTable varDataTable;

            try
            {
                varDataTable = PatenteDAL.SelectAll();
            }
            catch (ExceptionDAL dalex)
            {
                throw new ExceptionBLL(dalex, dalex.Message);
            }
            return(varDataTable);
        }
Ejemplo n.º 3
0
        public static DataRow Select(string IdFamiliaElement)
        {
            DataRow varDataTable;

            try
            {
                varDataTable = PatenteDAL.Select(IdFamiliaElement).Rows[0];
            }
            catch (ExceptionDAL dalex)
            {
                throw new ExceptionBLL(dalex, dalex.Message);
            }
            return(varDataTable);
        }
Ejemplo n.º 4
0
 public PatenteBLL()
 {
     _crud = new PatenteDAL();
 }