I have a WCF service that my client makes a call to tell her to run storedprocedure1, with param1, param2, etc.
When the WCF service receives this call, it creates an instance of the class that creates the DAO class. The DAO class creates a connection, loads the parameters into the object SqlCommand, and then executes the object.
Upon completion, it closes SqlConnectionbut does not close or delete the DAO class because it needs to complete several procedures.
Here is the problem. If I edit storedprocedure1and then call it through the WCF service, the changes I made to storedprocedure1are not reflected until I restart the WCF service. Its both storedprocedure1cached in WCF.
Has anyone else experienced this and is there a solution?
source
share