In the many LINQ examples I've seen, I create my own data and table context using code similar to the one below:
class MyDatabase : DataContext { public Table<Widget> Widgets; public Table<Car> Cars; public MyDatabase (string connection) : base(connection) { } }
But for each table (Widgets, Cars, etc.) I get a warning. The table_name field is never assigned . I cannot find anyone on Google who also has this problem. I don’t feel like I am doing something wrong, because I am simply copying LINQ examples that I saw from different places. So what about this warning? Does this warn me of a real problem? Or am I missing something?
source share