Skip to content
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

请问一下 XCode 支持存储过程查询吗? #147

Closed
zhang-junlin opened this issue Aug 7, 2024 · 1 comment
Closed

请问一下 XCode 支持存储过程查询吗? #147

zhang-junlin opened this issue Aug 7, 2024 · 1 comment

Comments

@zhang-junlin
Copy link

如题,我有一个业务相对来说比较复杂,所以写了个存储过程,但是我没找到 XCode DAL 有对应的方法可以执行这个存储过程。请问一下 XCode 支持存储过程查询吗?

@nnhy
Copy link
Member

nnhy commented Aug 10, 2024

var dal=DAL.Create("Membership");
var dt=dal.Query("select * from user where name=@name", new{name="Stone"});

DAL层支持执行sql和存储过程。

@nnhy nnhy closed this as completed Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants