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

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

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