-
Notifications
You must be signed in to change notification settings - Fork 860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AsTable方法不起作用 #1916
Comments
统一加前缀,建议看aop文档。 |
var repo = fsql.GetRepository(); ② repo.Insert(new Log { ... }); 明显,你的①②顺序反了 |
问题描述及重现代码:
基本需求是,读取数据表A里的数据,筛掉部分数据之后之后,将有效数据写入数据表A_fix,想通过 AsTable 来指定写入数据表的表名。
我写了以下方法来实现,但是发现执行的SQL代码中,并不是newtablename表名,而是原来的默认表名(TableAttribute指定的表名)。
PS:我的写入数据库是达梦的
数据库版本
安装的Nuget包
.net framework/. net core? 及具体版本
The text was updated successfully, but these errors were encountered: