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

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

            listParams.Add(new SqlParameter("@AdPositionId", AdPositionId));
            return(adpDAL.GetModel(trans, SqlQuery, listParams));
        }
Example #2
0
 /// <summary>
 /// 得到一个对象实体
 /// </summary>
 public BWJS.Model.AdPosition GetModel(int AdPositionID)
 {
     return(dal.GetModel(AdPositionID));
 }