Пример #1
0
        public int Update(OAPersonContractModel ObjModel, SqlTransaction Transaction)
        {
            OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction);

            return(tdal.Update(ObjModel));
        }
Пример #2
0
        public List <OAPersonContractModel> GetModels(OAPersonContractQueryModel ObjQueryModel, SqlTransaction Transaction)
        {
            OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction);

            return(tdal.Select(ObjQueryModel));
        }
Пример #3
0
        public OAPersonContractModel GetModel(int Code, SqlTransaction Transaction)
        {
            OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction);

            return(tdal.GetModel(Code));
        }
Пример #4
0
        public List <OAPersonContractModel> GetModels(SqlTransaction Transaction)
        {
            OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction);

            return(tdal.Select());
        }
Пример #5
0
        public int Delete(int Code, SqlTransaction Transaction)
        {
            OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction);

            return(tdal.Delete(Code));
        }