Exemplo n.º 1
0
        public int Update(OAPersonContractModel ObjModel, SqlTransaction Transaction)
        {
            OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction);

            return(tdal.Update(ObjModel));
        }
Exemplo n.º 2
0
        public List <OAPersonContractModel> GetModels(OAPersonContractQueryModel ObjQueryModel, SqlTransaction Transaction)
        {
            OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction);

            return(tdal.Select(ObjQueryModel));
        }
Exemplo n.º 3
0
        public OAPersonContractModel GetModel(int Code, SqlTransaction Transaction)
        {
            OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction);

            return(tdal.GetModel(Code));
        }
Exemplo n.º 4
0
        public List <OAPersonContractModel> GetModels(SqlTransaction Transaction)
        {
            OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction);

            return(tdal.Select());
        }
Exemplo n.º 5
0
        public int Delete(int Code, SqlTransaction Transaction)
        {
            OAPersonContractDAL tdal = new OAPersonContractDAL(Transaction);

            return(tdal.Delete(Code));
        }