public List <Article> SelectArticle(string KeyStr, string StartTime, string EndTime, string CategoryTag, int?PageSize, int?PageIndex, int?type) { Func <SqlConnection, List <Article> > action = (connection) => DalArticle.SelectArticle(connection, KeyStr, StartTime, EndTime, CategoryTag, PageSize, PageIndex, type); return(dbManager.Execute(action)); }