需要此功能才能生成不合格的I / U / D命令 [英] Need this ability to generate non-qualified I/U/D commands
问题描述
您好,
我们需要一个配置来在使用ADO.NET时生成非合格的I / U / D命令。我们希望使用从提供程序生成的这些命令,而不是使用默认的DbCommandBuilder实现。如果有办法,请告诉我。
we need a provision to generate non-qualified I/U/D commands when using ADO.NET. We want to use these commands generated from our provider instead of using default DbCommandBuilder implementation. Please let me know if there is a way to do it.
谢谢和问候
Thanks and regards
Vish
推荐答案
您好Vish,
Hi Vish,
您可以通过SqlDataAdapter的属性实现此目的。生成所需的sql命令并将此命令分配给SqlDataAdapter。< I / U / D>命令属性。
You could achieve this by the properties of SqlDataAdapter. Generate the sql command which you want and assign this command to SqlDataAdapter.<I/U/D>Command property.
您可以参考以下链接获取更多信息:
You could refer to the following link for more information:
希望这可以帮到你。
最诚挚的问候,
这篇关于需要此功能才能生成不合格的I / U / D命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!