예제 #1
0
        public IQueryable <ClassDivision> FindBy(System.Linq.Expressions.Expression <Func <ClassDivision, bool> > predicate)
        {
            ClassDivisionDAL           dalObject = new ClassDivisionDAL();
            IQueryable <ClassDivision> results   = dalObject.FindBy(predicate);

            return(results);
        }
예제 #2
0
        public IQueryable <ClassDivision> GetAll()
        {
            ClassDivisionDAL           dalObject = new ClassDivisionDAL();
            IQueryable <ClassDivision> results   = dalObject.GetAll();

            return(results);
        }
예제 #3
0
        public int GetClassDivisionId(string ClassName, string DivisionName)
        {
            ClassDivisionDAL dalObject = new ClassDivisionDAL();

            return(dalObject.GetClassDivisionId(ClassName, DivisionName));
        }
예제 #4
0
        public void Delete(int id)
        {
            ClassDivisionDAL dalObject = new ClassDivisionDAL();

            dalObject.Delete(id);
        }
예제 #5
0
        public void Edit(ClassDivision entity)
        {
            ClassDivisionDAL dalObject = new ClassDivisionDAL();

            dalObject.Edit(entity);
        }
예제 #6
0
        public void Add(ClassDivision entity)
        {
            ClassDivisionDAL dalObject = new ClassDivisionDAL();

            dalObject.Add(entity);
        }