What is the best pattern to follow using newer EF/Linq to generate dynamic queries and return a generic data set?
My existing environment relies heavily on older ADO.net dynamically created SQL queries returned as Datasets. Using the pattern of: -- sql and parameter details omitted on purpose --
SqlCommand cmd = new SqlCommand();
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataSet ds = new DataSet();
da.Fill(ds);
This allows us to return custom queries and return them generically to the user as a grid of data. We can execute any dynamically created SQL and get back different sets of data with different columns, data types, etc.
We are NOT using this for O/R mapping, but for read only queries.
Will it be appropriate to migrate to EF/Linq for this, or would it be best to continue using ADO.net even though it seems like the old technology?