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?
+1
A:
See this article on adding Parameter Caching to SqlCommandBuilder.DeriveParameters
Chris Ballance
2009-10-11 21:23:02
Thanks. Exactly the direction I was heading in.
feihtthief
2009-10-12 18:22:30
+1
A:
Calling DeriveParameters will require a DB call (every time). There is no integrated caching, you would have to implement this yourself.
M4N
2009-10-11 21:23:52