llbl 存储过程
我在 llbl 上遇到问题。我的 sql 数据库中有一个存储过程,我想使用 llbl 在代码(C#)端获取存储过程代码。
Sql 代码:
SELECT ROUTINE_DEFINITION
FROM INFORMATION_SCHEMA.Routines
WHERE ROUTINE_Name = 'FillStatistics'
此查询正在获取存储过程代码,但我必须使用 llbl 来执行此操作。
我该怎么做?
谢谢, 约翰
I have a problem on llbl. I have a stored procedure in my sql database and I want to get the stored procedure code in code(C#) side with llbl.
Sql Code:
SELECT ROUTINE_DEFINITION
FROM INFORMATION_SCHEMA.Routines
WHERE ROUTINE_Name = 'FillStatistics'
This query is getting stored procedure code but I have to do this with llbl.
How can I do this?
Thanks,
John
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在设计器中添加对存储过程的调用,然后生成包含调用该过程的方法的代码。请参阅:http://www.llblgen.com /documentation/3.0/Designer/hh_goto.htm#How%20To/AddEditStoredProcedureCall.htm
Add a call to the stored procedure in the designer, and then generating code which will contain a method to call the proc. See: http://www.llblgen.com/documentation/3.0/Designer/hh_goto.htm#How%20To/AddEditStoredProcedureCall.htm
我建议从 LLBL 的在线文档开始。根据您的具体要求,我将从这里开始。 http://www.llblgen.com/documentation/3.0/Linq %20to%20Sql/hh_start.htm
I would suggest starting with the Online Docs for LLBL. In reference to your particular request i would start here. http://www.llblgen.com/documentation/3.0/Linq%20to%20Sql/hh_start.htm