I have a web application and I'm using repository * and Unit Of Work .
In some examples I saw that after performing some change operation on the bank we should call the Dispose() method.
Instantiated UnitOfWork :
priv...
When you make the policy:
using namespace std; //primeira forma
You get direct access to all elements of the std namespace.
But suppose you want to use only std::cout or std::endl
so it would be better to use the policy:
u...