Пример #1
0
        public IQueryable <StudentAddress> GetAll(Int64 StudentId)
        {
            StudentAddressDAL           dalObject = new StudentAddressDAL();
            IQueryable <StudentAddress> results   = dalObject.GetAll(StudentId);

            return(results);
        }
Пример #2
0
        public IQueryable <StudentAddress> FindBy(System.Linq.Expressions.Expression <Func <StudentAddress, bool> > predicate)
        {
            StudentAddressDAL           dalObject = new StudentAddressDAL();
            IQueryable <StudentAddress> results   = dalObject.FindBy(predicate);

            return(results);
        }
Пример #3
0
        public void Delete(int id)
        {
            StudentAddressDAL dalObject = new StudentAddressDAL();

            dalObject.Delete(id);
        }
Пример #4
0
        public void Edit(StudentAddress entity)
        {
            StudentAddressDAL dalObject = new StudentAddressDAL();

            dalObject.Edit(entity);
        }
Пример #5
0
        public void Add(StudentAddress entity)
        {
            StudentAddressDAL dalObject = new StudentAddressDAL();

            dalObject.Add(entity);
        }