Esempio n. 1
0
 public bool Delete(EntityHandler.SubObjects obj)
 {
     bool Status = false;
     try
     {
         Status = new DataAccessHandler.SubObjects().Delete(obj);
     }
     catch (Exception ex)
     { }
     return Status;
 }
Esempio n. 2
0
        public bool Delete(EntityHandler.SubObjects obj)
        {
            bool Status = false;

            try
            {
                Status = new DataAccessHandler.SubObjects().Delete(obj);
            }
            catch (Exception ex)
            { }
            return(Status);
        }
Esempio n. 3
0
 public List<EntityHandler.SubObjects> SelectAll(EntityHandler.SubObjects obj)
 {
     List<EntityHandler.SubObjects> listobj = new List<EntityHandler.SubObjects>();
     try
     {
         DataTable dt = new DataAccessHandler.SubObjects().SelectAll(obj);
         for (int i = 0; i < dt.Rows.Count; i++)
         {
             listobj.Add(ConvertToObject(dt.Rows[i]));
         }
     }
     catch (Exception ex)
     { }
     return listobj;
 }
Esempio n. 4
0
        public List <EntityHandler.SubObjects> SelectAll(EntityHandler.SubObjects obj)
        {
            List <EntityHandler.SubObjects> listobj = new List <EntityHandler.SubObjects>();

            try
            {
                DataTable dt = new DataAccessHandler.SubObjects().SelectAll(obj);
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    listobj.Add(ConvertToObject(dt.Rows[i]));
                }
            }
            catch (Exception ex)
            { }
            return(listobj);
        }