Property "Percentage" of StatusEventArgs higher than 100 ?
Bastiaan Molsbeck
Posts: 73
Hi,
I created a .NET project to compare and synchronize the data of two databases, which structure is exactly the same (schemes, tables, columns, etc).
To monitor the progress, I use a StatusCallBack method very similar to the one listed in this example:
http://sdk.red-gate.com/index.php/Compa ... e_database
But when running the tool the value of the property "Percentage" of the parameter "StatusEventArgs e" in the method "StatusCallBack" gets higher than 100.
This occurs when the tool performs the call to CompareDatabases.
Can you explain this? I would expect that a percentage never gets higher than 100.
Could this be caused by our database structure? We currently have around 630 database tables, spread over 10 database schemes.
I created a .NET project to compare and synchronize the data of two databases, which structure is exactly the same (schemes, tables, columns, etc).
To monitor the progress, I use a StatusCallBack method very similar to the one listed in this example:
http://sdk.red-gate.com/index.php/Compa ... e_database
But when running the tool the value of the property "Percentage" of the parameter "StatusEventArgs e" in the method "StatusCallBack" gets higher than 100.
This occurs when the tool performs the call to CompareDatabases.
Can you explain this? I would expect that a percentage never gets higher than 100.
Could this be caused by our database structure? We currently have around 630 database tables, spread over 10 database schemes.
Comments