现有数据库的特定前缀(带有正则或字符串)表的脚手架dbcontext
我正在使用脚手架dbContext
用efcore 6对现有数据库进行反向工程。在那里,我有很多表可以将该名称施加为strip _
。我注意到使用文档使用- 表
管道来指定一个表。但是,每次使用命令中的每个风险_前缀_前缀的表都更加困难。
是否有任何管道或配置来获取前缀的表名称或定义以在脚手架命令中使用的正则表达式?
谢谢
I am using Scaffold-DbContext
to reverse engineering my existing database with EfCore 6. There I have many tables to scaffold that name as RISK_
. Using the documents, I noticed to use --table
pipe to specify one by one table. But it is a bit harder to use every time to determine every RISK_ prefixed table in the command.
Is there any pipe or configuration to get that prefixed table name or define regex to use in scaffold command?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论