コード例 #1
0
        public int Insert(DesignChangeModel ObjModel, SqlTransaction Transaction)
        {
            DesignChangeDAL edal = new DesignChangeDAL(Transaction);

            ObjModel.Flag        = "0";
            ObjModel.State       = "0";
            ObjModel.ChangeMoney = "";
            ObjModel.TotalMoney  = 0M;
            return(edal.Insert(ObjModel));
        }
コード例 #2
0
        public int Update(DesignChangeModel ObjModel, SqlTransaction Transaction)
        {
            DesignChangeDAL edal = new DesignChangeDAL(Transaction);

            return(edal.Update(ObjModel));
        }
コード例 #3
0
        public List <DesignChangeModel> GetModels(DesignChangeQueryModel ObjQueryModel, SqlTransaction Transaction)
        {
            DesignChangeDAL edal = new DesignChangeDAL(Transaction);

            return(edal.Select(ObjQueryModel));
        }
コード例 #4
0
        public List <DesignChangeModel> GetModels(SqlTransaction Transaction)
        {
            DesignChangeDAL edal = new DesignChangeDAL(Transaction);

            return(edal.Select());
        }
コード例 #5
0
        public List <DesignChangeModel> GetModels(SqlConnection Connection)
        {
            DesignChangeDAL edal = new DesignChangeDAL(Connection);

            return(edal.Select());
        }
コード例 #6
0
        public DesignChangeModel GetModel(int Code, SqlTransaction Transaction)
        {
            DesignChangeDAL edal = new DesignChangeDAL(Transaction);

            return(edal.GetModel(Code));
        }
コード例 #7
0
        public DesignChangeModel GetModel(int Code, SqlConnection Connection)
        {
            DesignChangeDAL edal = new DesignChangeDAL(Connection);

            return(edal.GetModel(Code));
        }
コード例 #8
0
        public int Delete(int Code, SqlTransaction Transaction)
        {
            DesignChangeDAL edal = new DesignChangeDAL(Transaction);

            return(edal.Delete(Code));
        }