Open NULL0B opened 1 year ago
Hi @NULL0B, thanks for the ticket. Do you mean that you propose to introduce something like "Go to table" from the DbContext's entity to the related table in the Database tool window?
The only problem with that solution is that it's quite hard to determine which connection string is related to which DbContext. So, most likely, such predictions may fail for similar connections with similar table names. Or it may cause false positive, where "go to" will lead to another connection.
Would be nice if exist an option that pressing f12(visual studio shortuct go to definition) or maybe a context menu gets available db conections in the ide if the feature is present and shows sql tables that this model represent if any and the posibility to open ot directly. This would also need to parse the attribute Table(name:).