Ejemplo n.º 1
0
        public DataTable LoadCatagoryTableForAllDataByCatagoryDescription(DECustomerCategory catagory)
        {
            DALCustomerCategory obj_DALCatagory = new DALCustomerCategory();

            DataTable dt_Catagory = obj_DALCatagory.LoadCatagoryTableForAllDataByCatagoryDescription(catagory);

            obj_DALCatagory = null;

            return(dt_Catagory);
        }
Ejemplo n.º 2
0
        public int DeleteData(DECustomerCategory catagory)
        {
            DALCustomerCategory obj_DALCatagory = new DALCustomerCategory();

            int int_Result = obj_DALCatagory.DeleteData(catagory);

            obj_DALCatagory = null;

            return(int_Result);
        }
Ejemplo n.º 3
0
        public Boolean LoadCatagoryRow(DECustomerCategory catagory)
        {
            DALCustomerCategory obj_DALCatagory = new DALCustomerCategory();

            Boolean bool_HasRows = obj_DALCatagory.LoadCatagoryRow(catagory);

            obj_DALCatagory = null;

            return(bool_HasRows);
        }
Ejemplo n.º 4
0
        public DataTable LoadCatagoryTableForAllData()
        {
            DALCustomerCategory obj_DALCatagory = new DALCustomerCategory();

            DataTable dt_Catagory = obj_DALCatagory.LoadCatagoryTableForAllData();

            obj_DALCatagory = null;

            return(dt_Catagory);
        }
Ejemplo n.º 5
0
        public int InsertData(DECustomerCategory catagory)
        {
            DALCustomerCategory obj_DALCatagory = new DALCustomerCategory();

            int int_Result;

            if (catagory.Catagory_Id == 0)
            {
                int_Result = obj_DALCatagory.InsertData(catagory);
            }
            else
            {
                int_Result = obj_DALCatagory.UpdateData(catagory);
            }

            obj_DALCatagory = null;

            return(int_Result);
        }