我如何使用c#.net在数据库中创建规则以及如何使用它们 [英] how can i create rules in data base using c#.net and how to use them

查看:58
本文介绍了我如何使用c#.net在数据库中创建规则以及如何使用它们的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用c#.net在数据库中创建规则以及如何使用它们

How can I create rules in data base using c#.net and how to use them

推荐答案

我只想指出您不需要为此使用c#.您可以通过存储过程来实现规则.通过这些过程调用数据库将确保满足您的要求.创建一个没有表级特权的数据库帐户,并允许通过这些proc进行访问.可以使用任何.NET语言.

如果您正在寻找纯CLR解决方案,也可以尝试以下演练 [ ^ ].

干杯.
I just want to note that you don''t need to use c# for this. You can implement your rules through stored procedures. Calls to the database through these procedures would ensure your requirements are met. Create a database account that does not have table-level privileges and allow allow access through those procs. Any .NET language could be used for this.

If you''re looking for a pure CLR solution you can also try this walkthrough[^].

Cheers.


这篇关于我如何使用c#.net在数据库中创建规则以及如何使用它们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆