i have a t_my_class table structure like below (MySql table)
id class group age name surname
1 9 A 18 sarah brown
2 10 B 20 joe sanders
3 8 A 17 elisa connor
4 10 C 23 sandra brown
and i have a struct and a list of that struct
struct MyClass
{
int id;
string class;
string group;
int age;
string name;
string surname;
}
List<MyClass> Students = new List<MyClass>();
Now, can u tell me which LINQ query to use to select all data from t_my_class table to Students List.
