예제 #1
0
파일: AreaBLL.cs 프로젝트: luoyan1234/YCS
        /// <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));
        }