public class MovieModel
{
public string id { get; set; }
public string title { get; set; }
public string image { get; set; }
public string cnt { get; set; }
}
public class DataSetHolder
{
public DataSet Data = new DataSet();
public Hashtable DataAdapters = new Hashtable();
public SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["ApplicationServices"].ConnectionString);
}
我需要IDisposable
为这两个类实现接口吗?