Is IDbCommandInterceptor in EntityFramework 6 thread safe

asp.net-web-api c# entity-framework-6

Question

Is a DbInterception add method-registered IDbCommandInterceptor instance regarded as thread-safe? I've created a class that complies with the IDbCommandInterceptor interface, and I'm monitoring the time difference between a command's start and stop times when one of its execution methods is called. I want to know if it's okay for me to store this data in a private ivar list.

1
3
12/24/2013 8:07:42 PM

Popular Answer

ZZZ_tmp
3
12/6/2013 11:56:06 PM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow