| ▲ | mitxela 2 days ago | |
You should be passing a connection or a connection pool, not a connection string. | ||
| ▲ | default-kramer 2 days ago | parent [-] | |
I chose a connection string as an example of something that obviously cannot be originated in the middle of the call stack. The difference between passing a raw connection string or passing a connection factory is important for good software design, but I considered them equivalent in the context of this discussion of coloring. | ||