我需要将 DataSet 和 DataAdapter 与以下代码一起使用,但我无法集成它。请您帮我添加数据集和数据适配器。
DbCommand dbCommand10;
dbCommand10 = db.GetStoredProcCommand("Select_Post_Comment");
db.AddInParameter(dbCommand10, "PostId", DbType.Guid, Post_ID);
//IDataReader dr10 = db.ExecuteReader(dbCommand10);