Replies: 2 comments 2 replies
-
What is a SQL poco generator. Can you give examples? |
Beta Was this translation helpful? Give feedback.
-
A source generator that creates classes (POCO - Plain old CLR objects) from SQL tables, views, etc. (ex: https://marketplace.visualstudio.com/items?itemName=SimonHughes.EntityFrameworkReversePOCOGenerator) They don't work if they are constantly being generated due to code change, due to the fact they access a database. You could also create a source generator that downloads and reads a swagger file and creates methods on a class to access a web api. There are many applications of a manually triggered source generator. |
Beta Was this translation helpful? Give feedback.
-
Would love to have the ability to manually trigger any source generator, perhaps add it to the context menu of the analyzer. Also, have source generators that can only be manually triggered. This would allow for source generators to be used for anything that takes some time, like a SQL poco generation. Could easily add to the Generator attribute (bool isManualOnly).
Beta Was this translation helpful? Give feedback.
All reactions