예제 #1
0
/// <summary>
/// 取实体
/// </summary>
        public LinkModel GetModel(SqlTransaction trans, int LinkId)
        {
            StringBuilder SqlQuery = new StringBuilder();

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

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