Hi,
I have a method which returns 1 or 0 after some transactions. I wonder if there is a way to return 1 or 0 before the transactions? The reason is because there is a mechanism that waits for this return value and it is more important than the transaction itself.
This is my sample method:
public string retDrawProgram(System.Data.DataSet dsDrawProgram, string sDrawNumber, string sDataRevision)
{
//Here is my transactions
return 1;
}