Beispiel #1
0
        /// <summary>
        /// 取实体
        /// </summary>
        public CartModel GetModel(SqlTransaction trans, int CartId)
        {
            StringBuilder SqlQuery = new StringBuilder();

            SqlQuery.Append(" and CartId=@CartId");
            List <SqlParameter> listParams = new List <SqlParameter>();

            listParams.Add(new SqlParameter("@CartId", CartId));
            return(carDAL.GetModel(trans, SqlQuery, listParams));
        }