//Get all event details
public IEnumerable GetAllData()
return (from t in _sqlconnection.Table() select t).ToList();
I have method that return the all rows from database. but i want to make it generic. Like whatever table i pass in method that returns the all the rows from table.
How can i do it?