Terminates the program and gives the return value to os as exit code.
www.codecollege.NET
<h4>
1. Unified Programming Model.
2. Service Oriented Architecture.
3. Cross-Vendor interoperability.
</h4>
<a href="http://www.codecollege.NET">www.codecollege.NET</a>
Sno | Application | Cache |
1 | Life of Application objects are till the end of Application unless you destroy it. | Also provides application-wide scope but get destroyed by expiration mechanism. |
2 | You have Locking mechanism in Application object | Not available. |
3 | Not available. | Has a feature called SQL Cache dependency using which you can invalidate a cache object based on the changes to its source in the table |
Sno | DataReader | DataAdapter |
1 | Works in Connected Mode | Works in Disconnected Mode |
2 | Can have only one record at a time | Can have more than 1 records. |
3 | Is ForwardOnly and Readonly | Can navigate front and back and editable |
4 | Faster | Slower |