//执行strSql/procSql69 //返回受影响的行数70 int i = dbsql.Database.ExecuteSqlCommand("exec getActionUrlId @name", parameters);71 72 Listdd01 = dbsql.Database.SqlQuery(typeof(ActionUrl), "exec getActionUrlId @name", parameters).Cast ().ToList();73 //执行strSql/procSql74 //返回数据的集合75 List dd02 = dbsql.Database.SqlQuery ("exec getActionUrlId @name", parameters).ToList();//返回查询到的实体集合