开发者

How expensive is SqlCommandBuilder.DeriveParameters?

开发者 https://www.devze.com 2022-12-08 10:22 出处:网络
What is the cost of calling SqlCommandBuilder.DeriveParameters? I understand that a round-trip is required to the DB server to get the parameters. After 开发者_运维百科this is called, will the informa

What is the cost of calling SqlCommandBuilder.DeriveParameters? I understand that a round-trip is required to the DB server to get the parameters. After 开发者_运维百科this is called, will the information be cached by the provider, or will it be re-queried EVERY time this method is called?


Calling DeriveParameters will require a DB call (every time). There is no integrated caching, you would have to implement this yourself.

0

精彩评论

暂无评论...
验证码 换一张
取 消