I have database
Table room: id,name
Table table: id, id_room
Table WorkPanel: id, id_table, **date**.
I use (date == date, and WorkPanel have record with table):
var nowWorkPanels = from a in context.WorkPanels where a.date == date select a;
but I do not understand how to make a check at that time and in this room there is a record
You are obviously not showing all of the fields in your tables, but if your navigational properties are set up correctly, your query will look something like:
or if you want to query by room name:
I prefer the more concise method chaining syntax, though: